2024年5月2日 星期四

Lwy_week11

##week11

##week11-0_sample

0.開新的專案

##week11-1_TRT_again

1.開新的專案

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

3.要用剛剛教的"小考TRT轉動"




##week11-2_obj_gundam_opencv_texture_lighting

0.安裝opencv

1.重開codeblocks,改三個地方

-(接下來再把github的程式倉庫下載下來,week09-1拿來用,複製成week11-2)

-(File-Open開桌面week11-2裡面的week11-2.cbp)

-(開起來後,再改專案的title變成week11-2_obj_gundam_opencv_texture_lighting)

##maya切割,匯出OBJ

0.登入MAYA

-handA.obj+handA.mtl

-handB.obj+handB.mtl

##繼續修改week11-2_obj_gundam_opencv_texture_lighting

1.把剛剛的handA.obj handA.mtl handB.obj handB.mtl 放到data目錄

2.改程式GLMmodel *pmodel=NULL改成

```cpp

GLMmodel *pmodel=NULL;

GLMmodel *handA=NULL;

GLMmodel *handB=NULL;

```
再做修改void draemodel(){...}複製成裡面的pmodel也換成






 



沒有留言:

張貼留言