#week11
##wee11-0_sample
1.安裝 freeglut,把lib\libfreeglut.a複製成 libglut32.a
2.File-week10_sample
##week11-1_TRT_again
1.file-week11-1_TRT_again
2.把上週的week10-1_TRT_glutSoildCube_myBody_myArm的程式貼上來
3.搭出T-R-T的程式
4.把T-R-T註解到,再從下到上(1) (2) (3)試著逐一解鎖
##week11-2-obj_gundam_again1.安裝OpenCV 2.1,記得Add PATH,裝在預設目錄 C:\OpenCV2.1
2.重開 CodeBlocks, Setting-Complier,設定Search
directories 要設2個(include lib),Linker setting 要設3個
3.利用 git clone https://github.com/james921216/2024graphicsb
把雲端程式拿下來,week09-1 是我們要用的
4.複製到桌面,把
week09-1_obj_gundam_opencv_texture_lighting.cbp改檔名為
week11-2_obj_gundam_opencv_texture_lighting.cbp
5.再用CodeBlocks 開起來。可惜的是,
左邊的專案Title還是舊的。用Project-Properties去改 Title
##Maya裁切模型
1.開Maya ,import剛剛week11-2的Gundam.obj模型
2.裁切、剩下左手,存檔hand1.obj
3.裁切、剩下右手,存檔hand2.obj
##week11-3_obj_gundam_hand1_hand2
1.將專案 11-2_obj_gundam_opencv_texture_lighting複製成
week11-3_obj_gundam_hand1_hand2
2.再把裡面的.cbp 檔名也改成
week11-3_obj_gundam_hand1_hand2.cbp
3複製桌面的 hand1.obj hand1.mtl hand2.obj hand2.ntl 到
week11-3_obj_gundam_hand1_hand2目錄裡
4.CodeBlocks選 file -open
week11-3_obj_gundam_hand1_hand2.cbp
Properties的Title改成 week11-3_obj_gundam_hand1_hand2
5.修改程式碼void drawmodel()函式要改一下
沒有留言:
張貼留言