This may be more of an OpenGL question than a Perl-question, but...
I am currently using the Perl OpenGL-0.55 module to draw a 3-D representation of some (or actually a lot of) data. Because crunching the data for a single frame takes a couple of minutes, I capture the frames using glReadPixels_p and write them to PNG files. This works fine as long as the window is not obscured. However, I'd obviously prefer to render to an off-screen buffer so I can keep working while the script is running.
I know this should be possible, but documentation on how to do this with the Perl bindings seems to be non-existent. My attempts to port example code from C all fail because the functions used (mostly GLX pixmaps or SGI pbuffers) do not seem to exist in Perl OpenGL.
Is there any Perl OpenGL guru here who can point me in the right direction?
-Levien
In reply to Perl OpenGL offscreen rendering? by levien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |