1.MOODLE➡解壓縮 freeglut-MinGW-3.0.0-1.mp.zip
把解壓縮完的檔案移到桌面
把124KB的檔案改名成 libglut32.a
開新的專案命名week03_mouse
解壓縮到C:\Users\austi\OneDrive\桌面\freeglut
把上週的十行複製進來
再三行glutCreateWindow()之後,在glutMainLoop之前
1.從老師的網頁(https://jsyeh.org/3dcg10/)
下載兩個檔案:1.data 2.win32
先解壓縮win32的檔案 , 然後把data資料夾移到windows資料夾
打開 Transformation.exe
移動:glTranslatef(x,y,z)
旋轉:glRotatef(旋轉,x,y,z)
glScalef ( ) 縮放比例
glPushMatrix();///備分矩陣
glPopMatrix();///還原矩陣
考試會考




沒有留言:
張貼留言