#Week11
##week11-0_sample
0.安裝freeglut 再把 lib\libfreeglut.a複製成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_glutWireCube_myBody_myArm程式碼來用
3.要用剛剛教的"小考T-R-T轉動"來做修改
##week11-2_obj_gundam_opencv_texture_lighting
0.安裝 OpenCv2.1小心!Add PATH用預設目錄
1.重開CodeBlocks,Setting-Compiler裡要改3個地方
接下來再把Github的程式倉庫下載下來
week09-1_glm_gundam_opencv_texture_lighting複製成week112_obj_gundam_opencv_texture_lighting
-cd desktop
-git clone https://github.com/帳號名/2024graphicsa
-start .開檔案總管,把week09-1目錄複製到桌面
第二種作法在GitHub網站https://github.com/帳號名/2024graphicsa點綠色的CODE的Download ZIP 再解壓縮,也能把week09-1目錄拉到桌面,再改目錄名!
File-Open開桌面week11-2_obj_gundam_opencv_texture_lighting
裡面改week11-2_obj_gundam_opencv_texture_lighting.cbp
開起來後再改專案Title變成
week11-2_obj_gundam_opencv_texture_lighting
##Maya 切割 ,匯出OBJ
要有Autodesk的帳號,註冊Maya教育版寄學生證認證就可使用
-handA.obj+handA.mtl
-handB.obj+handB.mtl
##繼續修改week11-2_obj_gundam_opencv_texture_lighting
1.把剛剛的handA.obj hamdA.mtl handB.obj handB.mtl 放到data目錄
2.改程式 GLModel * pmodel = NULL;改成
沒有留言:
張貼留言