Hello,
Is there a doc out there that explains how display lists are implimented in wxGLCanvas?
ie.
What is the role of:
m_gllist
glGenLists( )
when to use
glDeleteLists()
Can we re-generate a list and use the same index?
Thanks
wxGlCanvas inner workings Topic is solved
wxGlCanvas inner workings
______________
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
-
- Earned some good credits
- Posts: 109
- Joined: Fri Sep 03, 2004 9:30 am
- Location: Brescia, Italy
Re: wxGlCanvas inner workings
wxGLCanvas() does nothing magic. No standard OpenGL command is overloaded, so the same OpenGL rules apply.theWolf wrote:Is there a doc out there that explains how display lists are implimented in wxGLCanvas?
This is OpenGL specific, not wx specific.Can we re-generate a list and use the same index?
http://www.lighthouse3d.com/opengl/displaylists/
http://www.opengl.org/resources/faq/tec ... aylist.htm
Sandro Sigala - Kynosoft, Brescia
The code is on your hard drive
ssigala was kind.
I could have been reminded that:
"The source code is on your hard drive."
I printed out glcanvas.h and glcanvas.cpp
I found that the mysterious m_gllist was a member of an example class and not wxGLCanvas.
Another great thing about WxWidgets - we have the source code!
I could have been reminded that:
"The source code is on your hard drive."
I printed out glcanvas.h and glcanvas.cpp
I found that the mysterious m_gllist was a member of an example class and not wxGLCanvas.
Another great thing about WxWidgets - we have the source code!
______________
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!
WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!