We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Using OpenGL / Display Lists alongside Processing
Page Index Toggle Pages: 1
Using OpenGL / Display Lists alongside Processing (Read 1603 times)
Using OpenGL / Display Lists alongside Processing
Jul 26th, 2009, 11:13am
 
For those interested in moving from Processing's tidy OpenGL / P3D commands to pure, speedy OpenGL, here is a simple demonstration of:

1. Aligning Processing's camera() and perspective() with OpenGL's analogous gluLookAt() and gluPerspective()
2. Getting the rotations to align
3. Using a Display List* to buffer the OpenGL data instead of sending it to the card each frame.

         http://benhem.com/games/GLP5align/

Now let's make some fast $#!%!  --Ben

* VBOs are technically faster and more flexible.  I'll try to make a similar demo once I'm sure my method is sound.
Page Index Toggle Pages: 1