Login  Register

Re: JOGL with SWT(and NEWT) and OpenGL ES 2.0 for Eclipse RCP

Posted by Wade Walker on Feb 25, 2012; 9:06pm
URL: https://forum.jogamp.org/JOGL-with-SWT-and-NEWT-and-OpenGL-ES-2-0-for-Eclipse-RCP-tp3772584p3775772.html

Hi Seahorse,

I'm glad you found the RCP tutorial helpful  As Julien mentions, my use of the old SWT GLCanvas is a bit obsolete -- if you want to use more advanced OpenGL features like multisampling and shaders, you'd need to change the canvas. For now, I'd suggest the second option Julien mentions ("SWT/AWT bridge with a GLCanvas"), which I demonstrate on the wiki at http://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_Swing.

As far as NEWT goes, it's not necessary to use it, though you could if you wanted to. I haven't had much experience with this option, though. I'm going to try Julien's fourth option ("directly use the official SWT heavyweight OpenGL canvas of JOGL") in April when I've got some time off -- this new canvas is not widely used yet, so it might require me to make a few bug fixes to for it to work in all cases.