2018年4月9日 星期一

week7 graphics AHSU

3d explorer的使用:
1.需要的檔案,並且安裝3dexplorer

2.將data解壓到桌面打開3dexplorer


用codeblocks毒入3d模型:
1.開啟glut project
2.將glm.c  glm.h  transformation.c改檔名為cpp
並放到project中

3.將data資料夾放到freeglut---bin中

4.因為程式碼在1998廢除了
所以codeblocks setting---complier的勾勾拿掉

5.成果


用transformation把main改寫(transformation全部註解)

執行結果










沒有留言:

張貼留言