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 › OpenGL + Eclipse, Slow and buggy!
Page Index Toggle Pages: 1
OpenGL + Eclipse, Slow and buggy! (Read 1730 times)
OpenGL + Eclipse, Slow and buggy!
Jun 10th, 2009, 3:59pm
 
I'm working on a Processing project in Eclipse, and just recently moved it from P2D to OpenGL rendering.  I'm using nothing unusual in the rendering, just rects, and ellipses.  Yet somehow when I move it to OpenGL, it becomes horrendously slow (2 fps best) and nothing but a bit of text and a circle are even rendered.
I'm clueless here.

I've gone through the forums, and someone suggested trying Java 1.4, but I'm way too far into this project to port all my code back to that.

OpenGL performs great in the native Processing app.  I can do all of the exact same code in a processing app with full FPS.
Re: OpenGL + Eclipse, Slow and buggy!
Reply #1 - Jun 11th, 2009, 12:30am
 
Fixed.  It turns out printing any text using OpenGL slows it down to a grinding halt.

does this qualify as a bug?
Re: OpenGL + Eclipse, Slow and buggy!
Reply #2 - Jun 27th, 2009, 6:54pm
 
I'm using Eclipse with OpenGL since a while and it seems to be working fine on both Ubuntu + XP, Java 1.5,1.6. I'm using text as well (you don't mean println(), but graphical text display?).

There's one thing that wasn't fully working for me, if I remember correctly, textMode() (http://processing.org/reference/textMode_.html). I think SCREEN mode is not working correctly with OpenGL, and you get something very slow.
Page Index Toggle Pages: 1