1.week12-1_glm_gundam_handA_handB
安裝freeglut,libglut32.a
安裝OpenCV2.1,Add PATH,用預設位置
重開CodeBlocks,Setting-Compiler三個設定
--compiler的include要加入C:\OpenCV2.1\include
--linker的lib要加入C:\OpenCV2.1\lib
--linker設定,要加入cv210 cxcore210 highgui210
兩種下載方法
-Git Bash
--cd desktop
--git clone https://github.com/帳號/2024graphicsa
--cd 2024graphicsa
-在https://github.com/帳號/2024graphicsa點綠色的Code的Download ZIP 在解壓縮,也能把 week11-2目錄拉到桌面
改檔名week12-1_glm_gundam_handA_handB
開Notepad++改title成week12-1_glm_gundam_handA_handB
要修改的程式:把今天考試的T-R-T設定正確
技巧1:把擋住的,註解掉。把旋轉,註解掉。
技巧2:把用來對照的座標原點,用 glutSolidSphere(0.1,30,30);
2.week12-2_glm_gundam_upper_lower再把void drawHandA()複製修改成void drawUpperA() void drawlowerA()
沒有留言:
張貼留言