2019年2月21日 星期四

彥の圖學筆記 Week01

電腦圖學

2019-02-21 Week01

(1) 課程FB、座位表、Blog、計分
(2) Q: 這門課學什麼?
(3) 第一個OpenGL程式

開啟 CodeBlocks > File > New > Project > OpenGL project > 
存放位置設在桌面 > 命名檔名為 week01_OpenGL

(4) 第一個GLUT程式

打開 Google Chrome > 搜尋 freeglut windows > 
選第一個 freeglut Windows Development Libraries - Transmission Zero > 
下載 freeglut 3.0.0 MinGW Package > 
將壓縮檔 freeglut-MinGW-3.0.0-1.mp裡面的 freeglut 移到桌面 > 
打開 freeglut 裡的 lib > 複製 libfreeglut.a 並改名為 libglut32.a
接著開啟 CodeBlocks > File > New > Project > GLUT project > 
存放位置設在桌面 > 命名檔名為 week01_glut > 
在 Please select GLUT's location 的空格中填入資料夾 freeglut 的位置(C:\Users\user\Desktop\freeglut)

(5)回家作業 > 練習課堂內容

沒有留言:

張貼留言