2013年12月12日 星期四

glNewList (list_name, GL_COMPILE):
 glNewList的功能就是把描述的一切圖形先建立起來
(GL_COMPILE代表編譯期建立)
等到往後呼叫到glCallList直接把它拿出來用
以glEndList()為結尾
glCallList(list_name) :
用來繪出在glNewList,所建立的模型

用途:
當所繪的東西幾乎是不變時(無位移或伸縮)
使用此方式繪出效能應該是比glBegin和glEnd繪出來得好

0 意見:

張貼留言

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.