期末作品Q&A
作品分享(二乙)
複習貼圖
到moodle 下載myEarth.zip (設定很麻煩)
(1)解壓
(2)OpenCV2.1 安裝好
(3)重開CodeBlocks
(4)專案設定
(A)目錄
include目錄
OpenCV 的C:\OpenCV2.1\include
OpenGL的GLUT 的C:\user\....\桌面\freeglut\include
lib目錄
OpenCV 的C:\OpenCV2.1\lib
OpenGL的GLUT 的C:\user\....\桌面\freeglut\lib
(B)Link 咒語
OpenCV: cv210. cxcore210. highgui210
OpenGL/GLUT: glut32. opengl32.glu32.gdi32. winmm
(5)準備freeglut32. dll
準備image. jpg
glBegin(GL_POLYGON);
glTexCoord2f (0,0); glVertex2f (-1,-1);
.
.
. (4行)
glEnd();
粒子系統
到moodle 下載Lesson19_partical.zip,解壓後開啟Lesson19.exe

沒有留言:
張貼留言