Week9
1. 小黑指令:
將Githubg上周的程式 clone 下來
在小黑 Git Bash 裡指令:
---cd desktop (先進入桌面)
---git clone https://github.com/dubi-160/2024garphicsb
---cd 2024graphicsb
---start .
2.確認環境沒問題
-安裝 OpenCV 要勾Add PATH, 裝在預設目錄
3.專案的設定需要修改
##week09-1_gundam_texture_lighting_rotate_lighting
剛前一個目錄 week07-2_obj_gundam_opencv_texture整個copy
1.再用notepad++ 開啟week09-1_obj_gundam_opencv_texture_lighting 目錄裡的.cbp檔
2.把打光的8行 貼在int main()前面
3.把打光的12+2行函式,貼到glutMainLoop()前面
4.glmDraw(pmodel,GLM_SMOOTH|GLM_TEXTURE)要刪掉中間的GLM_MATERIAL
沒有留言:
張貼留言