1.到http://jsyeh.org/3dcg10,下載[data] &[win32] & glut32.dll
2.分別解壓縮下載的檔案
3.
4.
5.
7.
8.
9.
10.下載
12.開CodeBlocks
13.
14.
15.
16.
17.
18.
19.刪減程式,並打上glutSolidTeapot(0.3);
20.按Run執行
21.加入函式glColor3f()上色
二.使用函數 glBegin() glEnd() glVertex3f() glColor3f() 繪出RGB三角形
1.
2.






















沒有留言:
張貼留言