Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Get zbuffer in Processing v2b6

$
0
0
Yes it works!

The first implementation with the processing-core repo at google code worked.

The second one throwed an exception,

Caused by: java.lang.IncompatibleClassChangeError: Expected static field processing.opengl.PGL.gl
at:
pgl.gl.glReadPixels(mouseX, height - mouseY - 1, 1, 1, GL2.GL_DEPTH_COMPONENT, GL.GL_FLOAT, zbuff);

But anyways thank you very much Andrés

--
Ing. David Alberto Montaño

Viewing all articles
Browse latest Browse all 1768

Trending Articles