week11
##week11-0_sample
0.安裝freeglut, 把lib複製成 libglut32.a
1.File-New-Project, GLUT專案, week11-0_sample
##week11-1_TRT_again
1.File-New-Project, GLUT專案, week11-1_TRT_again
2.把上週的week10-1程式碼貼上來
3.搭出T-R-T的程式
4.把T-R-T註解掉,再從下到上(1) (2) (3)試著逐一解鎖
0.安裝opencv 2.1, 記得Add PATH, 裝在預設目錄
1.重開 Codeblocks, Setting-Compiler, 設定 Search 要設2個(include lib), Liker setting 要設3個
2.利用github把week9-1複製到桌面把week9-1改目錄名為week11-2
3.把目錄裡的專案檔,也改檔名week9-1改檔名為week11-2
4.用Project-Properties去改Title變成week11-2
##用MAYA裁切模型
1. 將gundam(機器人) cimport 在MAYA打開
2.裁切、剩下左手,存檔hand1.obj (檔案格式是 OBJExporter)
3.裁切、剩下左手,存檔hand2.obj (檔案格式是 OBJExporter)
##week11-3_obj_gundam_hand1_hand2
1.要複製專案把 week11-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.cbp
4.Codeblocks 選 File-Open, 到week11-3_obj_gundam_hand1_hand2目錄裡,
開啟week11-3_obj_gundam_hand1_hand2.cbp檔案
Properties 的 Title改成 week11-3_obj
5.修改程式碼 void drawmodel() 函式
沒有留言:
張貼留言