2024年4月29日 星期一

林嘉恩week11

 ## week11-1_TRT_again

1. File-New-Project, GLUT專案 week11-1_TRT_again

2.把上週的week10-1TRT_glutSolidCube_mtBody_myArm的程式貼上來

(小心中文的問題)

3. 搭出T-R-T程式

4. 搭出 T-R-T 註解掉, 再從下到上(1) (2) (3)試著逐一解鎖


##week11-1_obj_gundam_again

0. 安裝 OpenCV 2.1, 記得 Add PATH,  裝在預設目錄 C:\OpenCV2.1

1. 重開 CodeBlocks, Setting-Compiler, 設定 Search directories 要設兩個(include lib), Liker setting 要設三個

2. 利用 git clone https://github.com/你的帳號/2024garphicsb

把雲端程式拿下來, week09-1 是我們要用的專案,複製過來用

3.複製到桌面後,把

week09-1_obj_gundam_opencv_texture_lighting 改目錄名為

week11-2_obj_gumdam_opencv_texture_lighting

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 (檔案格式是 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.obj hand2.mtl 都copy到

week11-3_obj_gundam_hand1_hand2 目錄裡

4. CodeBlocks 選 File-Open, 到

week11-3_obj_gundam_hand1_hand2 目錄裡,開啟

week11-3_obj_gundam_hand1_hand2.cbp 檔案

沒有留言:

張貼留言