2024年4月18日 星期四

week09

 #week09


##week09-0_sample

安裝 freeglut lib\libfreeglut.a --> libglut32.a

File-New-Project,GLUT專案 week09-0_sample


##複習上週

把上通的 week0g-3_ glm gundam opencx_ texture Light ing 開起來

Tile-open,到那個目錄,點開 •cbp (codeBIacks pzoject檔)

2. Buildran 就可以!!!

##把剛剛的専案、變成 week09-1_glm_gundam_opency texture lighting

0.把剛剛的專案,先關起來Close Project(這樣才不會被鎖)

1. 目録:把整個 week08-3_glm_ gundam_opencv_texture_lighting 復製到桌面的

week09-1_glm_gundam_opency_texture_lighting 把 week

2. 檔案:把新目録裡的専案案 week08-3_glm_gundam_opencv_texture_lighting.cbp

改檔名:成 week09-1_glm_gundam_opencv_texture_lighting.cbp

3. CodeBlocks File-Open 開E weeko9-1 glm_gundan opencv_texture_lignting.cbp 指

4. 再専案的 Fitle 改成 week09-1_glm_gundam_opencv_texture_lighting

就是用 Notepad++ 開 week09-1_glm_gundam_opencv_texture_lighting.cbp 檔、把程面的

week08-3 都改成 week09-1就好了,

,記得存檔

5. 再用 CodeBlocks File open

記得 main.cpp 種的 glutCreatewindow ("week08 Gundan" )改成

glutCreaterindow("week09-1 Gundam")改得更徹底

##week09-3_glutWireTeapot_glutWireCube_glutWireSphere


\






沒有留言:

張貼留言