2018年4月9日 星期一

Week 07 光

1.前往 jsyeh.org/3dcg10
   下載 source/data/win32/glut32.dll
   下載上課用軟體 3DExplorer_v181.rar

2.解壓縮 3DExplorer_v181.rar/data
   開啟 3DExploration,讀入 data 中的3D模型


3.開啟 Codeblocks
   (1)新建 GLUT 專案,將 source 檔案中的 glm.c/glm.h/transformation.c 加入專案




(2)將data資料夾新增到 freeglut 中的 bin資料夾


(3)Settings > Compiler
改變 Compiler設定,因為transformation.c有舊函式,否則會出錯



沒有留言:

張貼留言