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.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Extent of OPENGL implementation
Page Index Toggle Pages: 1
Extent of OPENGL implementation (Read 887 times)
Extent of OPENGL implementation
Mar 30th, 2006, 11:16pm
 
At one time, I recall that the OPENGL mode
did not map transformations to Jogl
transformations (to get the hardware
GPU speedup for operations such as rotate,
translate, etc). Is this still so, or does
the Processing "rotateX/Y/Z" in OPENGL mode
map to a glRotatef(...) call?

Re: Extent of OPENGL implementation
Reply #1 - Mar 30th, 2006, 11:56pm
 
that's still the case:
http://dev.processing.org/reference/everything/javadoc/processing/opengl/PGraphicsGL.html
Re: Extent of OPENGL implementation
Reply #2 - Mar 31st, 2006, 1:21am
 
Ok, no problem -- just wondering since I
am rusty on the recent changes to processing.
Here is a rebaked Borg applet using the
new approach:

http://www.cise.ufl.edu/~fishwick/processing/borg

NOTE: Runs great in IE. If you run this in
Firefox, it seems to rotate around 10 times
as slow..Hmm...

Re: Extent of OPENGL implementation
Reply #3 - Apr 4th, 2006, 8:10pm
 
I've been doing a bit of digging into Processing's guts,, and I *think* that it might be possible to set up a sketch in such a way that you can do pure GL calls, without the processing vertex munging getting in the way.

However you would have to make sure to not touch processing's rotate/translate etc functionality.

I'll post in a new thread if my tests look positive.
Re: Extent of OPENGL implementation
Reply #4 - Apr 6th, 2006, 11:36pm
 
Right - the borg applet is an example. It does
pure GL calls for all rotations and translations.
-[paul
Page Index Toggle Pages: 1