[visionegg] (no subject)

Dear All,

I have a big problem with speed efficiency. I must display the dots on the 
screen. However, monitor is 170Hz, and the best I can get, according to 
VisionEgg is 160 frames per second. I changed the DotArea2D function to have as 
few computation as possible, but I am still getting stuck on the following:

    gl.glBegin(gl.GL_POINTS)
    for i in xrange(len(xs)):
        gl.glVertex3f(xs[i],ys[i],zs[i])
    gl.glEnd()

especially when the dot arrays are big it takes long time for the frame to be 
drawn. Is there a way I could somehow speed it up? As the dots I am displaying 
do not move I thought I could have the frame somehow always drawn in the back 
buffer and then just show it or not, is it possible??

I will appreciate any help,
thanks a lot,
Maria

                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Other related posts: