Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: PDL double-buffering

by bsb (Priest)
on Feb 23, 2007 at 05:48 UTC ( [id://601685]=note: print w/replies, xml ) Need Help??


in reply to PDL double-buffering

I found out what is going on, PDL does double-buffer, at the line:
# PDL/Graphics/TriD/GL.pm" line 789 sub display { # ... $this->{_GLObject}->glXSwapBuffers(); }
display is called from twiddle which does the model fly-through stuff. My flicker came from using hold3d, points3d then imag3d_ns but points3d calls graph_object (calling twiddle_current then twiddle), so the points were drawn, the buffers swapped making imag3d_ns seem to flicker. I just need to avoid the points3d shortcut, and other forms using graph_object.

Brad

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://601685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found