We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I have a problem with the 3D graphichs. If I run this sketch:
void setup()
{
size(100,100,P3D);
}
void draw()
{
}
Processing does not show anything and I get this error:
OpenGL error 1285 at bot beginDraw(): out of memory OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
I am working with Processing 2.2.1 - winXp 32bit sys - GCard NVida GeForce Go 7400 with the latest updated driver.
How can I fix this?
ps 1.5.1 does not work on my machine anymore, it does not even start (Launch4j "An error occurred while starting the application").
many thanks!
Answers
...and if I try running it in Eclipse i get:
Select code and hit Ctrl+K (or use the C button) to format code and stack traces.
For Eclipse, take a look at http://wiki.processing.org/w/How_I_can_make_a_sketch_with_libraries_in_Eclipse? But I am not sure if result will change from PDE.
I can run 2d sketch from eclipse but not 3d. Same in processing.
please don't try an empty code, but a longer sketch
does size(100,100,P3D); and size(500,400,OPENGL); make any difference?
Did you in processing IDE preferences (ctrl and comma or via menu) increase the memory?
;-)
I ran the directional ligth example - no change I tryed with both sizes - no change I have increased the memory - no change :( Thanks!
In Processing 2, PD3 = OPENGL! :-B
@GoToLoop I have heard that too, so are they exactly the same?? If so, why not just get rid of one of them?
Processing 1 had P3D & OPENGL as unique renderers.
While in P3D, the 3D was emulated, OPENGL was the real deal.
For a better transition to Processing 2, they left P3D available, even though it's now the same as OPENGL!
println(P3D == OPENGL);
println(isGL());
@GoToLoop ok, thanks
But JAVA2D is still different from P2D, right? Or does P2D = OPENGL?
JAVA2D is the only renderer that was kept intact from Processing 1!
Even OPENGL was upgraded for a more updated version!
Original P2D & P3D renderers were cut off in Processing 2.
P3D became synonym for OPENGL and P2D is an emulated 2D using OPENGL!