Re: Compositing brush strokes offscreen
Posted by kitfox on Mar 22, 2012; 6:42pm
URL: https://forum.jogamp.org/Compositing-brush-strokes-offscreen-tp3848844p3849408.html
I'm not using NEWT. I'm currently using a GLJPanel because I need this to run inside a Swing application. (I'm not familiar with the NEWT stuff - can I use it to run in a Swing component?)
I know that the GLJPanel has a getGL() method. Would I be able to call that, allocate a framebuffer with a texture, render to the framebuffer texture and then read the framebuffer into the CPU? Or is there some restriction that forces me to call GL methods only inside the GLEventListener callbacks?