I designed a 3D sign using PSHAPE on a P3D environment.
The problem is I want to use it in a mixed 2D/3D environment
/* displaying text or 2d graphics on a 3d canvas is a pain. But we can cast a 3d canvas inside a 2d canvas. */ size(1000,1000,P2D); /* .... */ PGraphics canvas3d=createGraphics(1000,1000,P2D);
As main renderer (size) is 2d, I can’t rotateX my shape.
Is there a way for me to access the 3d renderer inside PGraphics to rotate the shape there?
Can I do canvas3d.shape(myshape.rotateX(HALF_PI))?