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.
IndexDiscussionGeneral Discussion,  Status › Processing 0110 mactel people get psyched
Pages: 1 2 
Processing 0110 mactel people get psyched (Read 3541 times)
Re: Processing 0110 mactel people get psyched
Reply #15 - Mar 24th, 2006, 7:03am
 
Hi, sorry to have bad news.. The OpenGL lights are broken for for me in this release. I converted the Spot example to GL to test. A call to directionalLight gives this exception and then stops:

Code:
java.lang.RuntimeException: java.nio.BufferOverflowException
at processing.opengl.PGraphicsGL.requestDisplay(PGraphicsGL.java:247)
at processing.core.PApplet.run(PApplet.java:1142)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.nio.BufferOverflowException
at java.nio.DirectFloatBufferU.put(DirectFloatBufferU.java:310)
at java.nio.FloatBuffer.put(FloatBuffer.java:776)
at processing.opengl.PGraphicsGL.glLightSpecular(PGraphicsGL.java:1542)
at processing.opengl.PGraphicsGL.lightSpecular(PGraphicsGL.java:1448)
at processing.core.PGraphics3.beginFrame(PGraphics3.java:315)
at processing.opengl.PGraphicsGL.beginFrame(PGraphicsGL.java:319)
at processing.core.PApplet.display(PApplet.java:1248)
at processing.opengl.PGraphicsGL$1.display(PGraphicsGL.java:135)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:270)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:145)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:287)
at com.sun.opengl.impl.GLWorkerThread$WorkerRunnable.run(GLWorkerThread.java:241)
... 1 more

..and spotLight says this every time it's called:

Code:
GL_ERROR at into triangles: 0501  GL_INVALID_VALUE 


I'm just on a plain old G5 mac, no Intel.
Re: Processing 0110 mactel people get psyched
Reply #16 - Mar 24th, 2006, 4:45pm
 
k thanks, got that fixed.
Re: Processing 0110 mactel people get psyched
Reply #17 - Mar 24th, 2006, 4:59pm
 
nuts, actually those are two separate bugs.. still working on the GL_ERROR.
Pages: 1 2