Since the update to Big Sur, processing's P3D and P2D renders do not appear to be working. When running a P3D sketch on my intel mac, a window opens to the specified dimensions, displaying the default grey. P3D worked fine before the OS update.
I've tried most of Daniel Shiffman's examples from the P3D tutorials, to no effect.
size(640,360,P3D);
background(0);
lights();
pushMatrix();
translate(130, height/2, 0);
rotateY(1.25);
rotateX(-0.4);
noStroke();
box(100);
popMatrix();
pushMatrix();
translate(500, height*0.35, -200);
noFill();
stroke(255);
sphere(280);
popMatrix();

Update: the sketch appears for a split second when closing the window. saveFrame() exports are successful.
THANK YOU! I thought it was just me having this problem.
I tried different 3d-model examples with both Processing 3.5.4 and the 4.0 beta as well and was unable to get P3D to work.
It did it to me with Processing4. I just move the empty window to another screen (because I have multiple screen) then get it back to the original screen and then it works.
Has anyone solved the problem? Save poor boy!!! 😭
did you check if you're in standard java mode ? some mode are broken
How to check? I've tried the P3D tutorials in standard java mode, then no effect. But something is very strange when I closed the running window, and that moment can see the running result, but just the moment.
I've found a workaround. Specifying frameRate() will make it run fine.
Perhaps it has something to do with OpenGL being deprecated.
THANK YOU!it works!!!
Most helpful comment
I've found a workaround. Specifying
frameRate()will make it run fine.Perhaps it has something to do with OpenGL being deprecated.