week12
[week12-1]
0.安裝freeglut把libfreeglut32.a複製成libglut32.a
1.OpenCV要安裝起來,要記得勾Add PATH, 不要改目錄,再重開codeblocks
2.把codeblocks Setting-Compiler加入3個設定:
- Search direction 的 compiler 要設 C:\OpenCV2.1\include
- Search direction 的 Linker 要設 C:\OpenCV2.1\lib
- Linker settng 的要設 cv210 cxcore210
highgui210
*下載Github 上周的程式
1.把 week11-3_obj_gundam_hand1_hand2 複製到桌面
2.改目錄名 week12-1_obj_gundam_hand1_hand2
3.把 .cbp,改檔名 week12-1_obj_gundam_hand1_hand2.cbp
4.再用 CodeBlocks 的 File-Open 開啟剛剛的 .cbp 檔
*利用 Maya 登入後,New 在 Import hand1.obj 要把它才裁切出(下手臂)lower.obj和upper.obj(上手臂)
*最後,先把drawLower() 函數調好,再掛到drauUpper()的後面
[week12-2]
1.複製目錄week12-1_obj_gundam_opencv_hand1_hand2
更改檔名
week12-3_obj_gundam_body_upper_lower
2.在開啟Codeblocks week12-3_obj_gundam_body_upper_lower
沒有留言:
張貼留言