Login  Register

Re: Implement AWT in JOGL

Posted by gouessej on Feb 17, 2016; 3:47pm
URL: https://forum.jogamp.org/Implement-AWT-in-JOGL-tp4036268p4036293.html

Hi

I had to port something a bit similar from AWT to JOGL. There are several ways to do it. You can simply create an RGB texture data object and modify its data at runtime or you can create a single VBO containing your vertices and your colors. You'll be able to export it as an image and to create a texture data object from an image by using AWTTextureIO and TextureIO.
Julien Gouesse | Personal blog | Website