2022年4月19日 星期二

shhhhhi : )

 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.貼圖設定
程式碼:





沒有留言:

張貼留言

VERY BEAUTIFUL, VERY POWERFUL

一.     一樣先安裝且設定好freeglut,OpecCV, 開啟CodeBlocks建立新專案 week11_gundam,                 把 MyGundam.zip下載解壓縮後的data資料夾放到freeglut/bin裡面 把week09_openc...