Re: Render GLCanvas with PGraphics
Posted by ac on Mar 27, 2012; 2:01pm
URL: https://forum.jogamp.org/Render-GLCanvas-with-PGraphics-tp3851028p3861459.html
Well, the rendering model of PGraphics is designed to work with a single GLCanvas attached to the parent PApplet. I imagine that you could add more GLCanvas objects to the PApplet, but then you would need to use a layout that accommodates all of them at once, but this will probably break other things in PApplet. You can always create as many offscreen surfaces as you want using FBOs and compositing them onto the main GLCanvas as regular images.