Ignore my previous post.  I just learned about display lists and I no longer have any performance problems.  In fact, I can now easily render over 120,000 points.

 

-Jason

 

From: Jason Hayes
Sent: Monday, June 02, 2008 3:57 PM
To: 'pyopengl-users@lists.sourceforge.net'
Subject: Rendering performance under wxPython

 

Hi, I am pretty new to using PyOpenGL (and OpenGL in general) and had a rendering performance question.  I am embedding an opengl canvas into a wx.Frame.  On my canvas, I am simply rendering ~10,000 points and the performance is chugging.  I’m trying to determine if the limiting factor is wxPython or PyOpenGL?  I doubt that OpenGL really has a problem with this many points, but maybe I’m doing something wrong.  Attached is a text file of the code.

 

Any feedback is appreciated.  Thanks.

 

_________________________________

Jason Hayes

Technical Art Director

THQ / Volition

 

"Whenever I'm about to do something, I think

"would an idiot do that?" and if they would,

I do not do that thing."

 

                                         - Dwight Schrute