2024年4月18日 星期四

Weeek09

 













複習上週 week08-3_glm_gundam_opencv_texture_lighting

要把環境設好: OpenCV

1. 小心: Add PATH

2. 小心: 目錄不要改

3. 要重開CodeBlocks

CodeBlocks : Setting-Compiler

1. C:\OpenCV2.1\include

2. C:\OpenCV2.1\lib

3. cv210 cxcore210 highgui210

要把上週的GitHub倉庫複製下來

0. 安裝Git,開啟Git Bash小黑

1. cd desktop

2. git clone  git clone  https://github.com/Rita06032004/2024graphicsa

3. cd 2024graphicsa

4.start .

把上週的week08-3_glm_gundam_opencv_texture_lighting 開起來

1. File-Open,到那個目錄,點開 .cbp (CodeBlocks Project檔)

2. Bulid & Run 就可以!

把剛剛的專案變成week09-1_glm_gundam_opencv_texture_lighting 

0. 把剛剛的專案先Close Project 

1. 目錄 : 把整個week08-3_glm_gundam_opencv_texture_lighting複製到桌面的week09-    1_glm_gundam_opencv_texture_lighting

2. 檔案 : 把目錄的專案檔week08-3_glm_gundam_opencv_texture_lighting.cbp改成week09-    1_glm_gundam_opencv_texture_lighting.cbp

3. CodeBlocks File-Open 開啟week09-1_glm_gundam_opencv_texture_lighting.cbp

4. 再把專案Title改成week09-1_glm_gundam_opencv_texture_lighting 用Notepad++開啟week09-1_glm_gundam_opencv_texture_lighting.cbp,把裡面的week08-3改成week09-1,記得存檔!!

5. 再用 CodeBlocks File-Open 開它











week09-2_glutSolidTeapot_glutSolidCube_glutSolidSphere











week09-3_glutWireTeapot_glutWireCube_glutWireSphere




沒有留言:

張貼留言