We are about to switch to a new forum software. Until then we have removed the registration on this forum.
THIS PROBLEM IS SOLVED. I'm leaving this here in case it helps someone else when the keyword search.
hello,
I am able to use proclipsing for 2D but when I try 3D I get an error message from just the size(400,400,P3D); statement in setup(). (note I have previously used proclipsing on mac OSX to generate 3D figures and I tried to install proclipsing the same way). I'm running the following code as an applet:
package testproc;
import processing.core.PApplet;
public class TestProc extends PApplet {
public void setup() {
size(400, 400, P3D);
}
public void draw() {
}
}
**
this is the error I get:**
libEGL warning: failed to create a pipe screen for i965
Exception in thread "Animation Thread" java.lang.RuntimeException: java.lang.RuntimeException: Number of texture units not supported by this hardware (or driver) Read http://wiki.processing.org/w/OpenGL_Issues for help.
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at processing.opengl.PJOGL.requestDraw(PJOGL.java:688)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1651)
at processing.core.PApplet.run(PApplet.java:2256)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Number of texture units not supported by this hardware (or driver) Read http://wiki.processing.org/w/OpenGL_Issues for help.
at processing.opengl.PGL.bindTexture(PGL.java:2648)
at processing.opengl.PGL.createFBOLayer(PGL.java:660)
at processing.opengl.PGL.beginDraw(PGL.java:530)
at processing.opengl.PJOGL.beginDraw(PJOGL.java:607)
at processing.opengl.PGraphicsOpenGL.beginOnscreenDraw(PGraphicsOpenGL.java:6320)
at processing.opengl.PGraphicsOpenGL.beginDraw(PGraphicsOpenGL.java:1691)
at processing.core.PApplet.handleDraw(PApplet.java:2338)
at processing.opengl.PJOGL$PGLListener.display(PJOGL.java:862)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:665)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:649)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1289)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Answers
the computer this is running on is an Acer C7 chromebook that is set up to run KDE desktop on Ubuntu installed over chromeos using croutbuntu. The Acer uses the integrated graphics.
PROBLEM SOLVED:
I tried using the processing 1.5 libs instead of the processing 2.0 libs. (Wiki made a suggestion that this would be a good idea for low end graphics cards). This worked