2024年5月9日 星期四

Week12 關節轉動 滑鼠改變角度

Week12-1_glm_gundam_handA_handB

先設定好環境

0. 安裝freeglut

1. 安裝 OpenCV2.1

2. 重開Codeblocks,Setting-Compiler 3個設定

    - C:\OpenCV2.1\include

    - C:\OpenCV2.1\lib

    - cv210 cxcore210 highgui210

再把 GitHub 的程式下載,把 week11-2_glm_gundam_opencv_texture_lighting 拿來改

1.  week11-2 複製目錄,改目錄名為 week12-1_glm_gundam_handA_handB

2. 把 .cbp 檔,改檔名為 week12-1_glm_gundam_handA_handB

3. 用 Notepad++ 開 .cbp 檔,改 Title 為 week12-1_glm_gundam_handA_handB

4. Codeblocks  File-Open  week12-1_glm_gundam_handA_handB.cbp











week12-2_glm_gundam_upper_lower

要把上下手臂切好、讀入

事先準備好: Maya 開起來,把 handA.obj 讀入,切割出 upperA.obj & lowerA.obj

再把12-1_glm_gundam_handA_handB 複製成 week12-2_glm_gundam_upper_lower.cbp

再用 Notepad++ 把 Title 和目錄也更新成 week12-2_glm_gundam_upper_lower

最後再把upperA.obj  upperA.mtl  lowerA.obj  lowerA.mtl 放到week12-2 的目錄




week12-3_glm_gundam_keyboard_angleID_mouse_motion_angle

















沒有留言:

張貼留言