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.
Page Index Toggle Pages: 1
P3D, JOGL, LWJGL (Read 1086 times)
P3D, JOGL, LWJGL
Jul 18th, 2009, 1:42pm
 
So far I've been using p5 mostly for its awesome OpenGL integration implemented via JOGL, and I also used the P3D mode a few times.

There are a couple of things which I haven't been able to figure out yet:
- is P3D gpu accelerated, or does run only on the cpu, or is it some sort of custom OpenGL wrapper for p5?
- is there any way to seriously optimize JOGL's huge download requirements? Under windows x86, an jogl-based applet requires a 2.2mb download simply for JOGL and the rt-gluegen jars, plus the size of the applet and its data.
- has anyone experimented with LWJGL integration within processing? would it bring any advantage in terms of download requirements to replace JOGL with LWJGL?

-m
Re: P3D, JOGL, LWJGL
Reply #1 - Jul 21st, 2009, 8:03pm
 
To answer your first question, P3D is a custom renderer that doesn't have anything to do with OPENGL. So, it's entirely CPU based, and obviously much slower. To use processing's OpenGL integration, pass OPENGL to your size() command, instead of P3D.
Re: P3D, JOGL, LWJGL
Reply #2 - Jul 22nd, 2009, 12:37am
 
Thanks for the answer.
Btw I'm already using p5+opengl like I said - you can see my p5 ogl engine here
http://demo.psrnd.com/360/
-m
Page Index Toggle Pages: 1