Login  Register

Re: JOGL Drawing on Image (e.g. JButton)

Posted by gouessej on Feb 19, 2018; 4:24pm
URL: https://forum.jogamp.org/JOGL-Drawing-on-Image-e-g-JButton-tp4038652p4038653.html

Hey

You can call com.jogamp.opengl.util.awt.AWTGLReadBufferUtil.readPixelsToBufferedImage(GL gl, boolean awtOrientation) to capture your rendering and copy it into a buffered image.
Julien Gouesse | Personal blog | Website