week09
1.下載window.zip,data.zip,source.zip.開啟Texture.exe
2.下載OpenCV2.1.0
3.開啟CodeBlocks後,先設定目錄
(1)Setting/Compiler/Search directories/Compiler,Add C:\OpenCV2.1\include
(2)Setting/Compiler/Search directories/Linker,Add C:\OpenCV2.1\lib
(3)Setting/Compiler/LinkerSetting,Add (cv210,cxcore210,highgui210)
4.秀圖
程式碼:
5.結合茶壺程式碼
程式碼:
p.s要讓earth.jpg顯示,要把其放在freeglut/bin裡面
6.貼圖設定
程式碼:

.png)
.png)
.png)
沒有留言:
張貼留言