實作:OpenCV讀圖show圖
實作:OpenGL貼圖
*下載
-freeglut (記得載 freeglut . 更改libglut32.a)
-http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/ (source/data/win32/glut32.dll)
-抓取source.zip的程式碼 (glm.c(關鍵)/glm.c(關鍵)/transformation.c(範例)),放到上面所建立的Project中
-更改glm.c -> glm.cpp / transformation.c -> transformation.cpp
-Add two files in Project (glm.cpp / transformation.cpp)
-在settings 的 compiler取消一個勾勾,然後把main.cpp清空(不能有兩個main())
-build -> rebuild (ctrl-F11),檔案裡會跑出bin和obj,把data丟到freeglut的bin裡面
*
-
*
-








































沒有留言:
張貼留言