Re: JOGL with SWT(and NEWT) and OpenGL ES 2.0 for Eclipse RCP
Posted by
gouessej on
Feb 24, 2012; 2:24pm
URL: https://forum.jogamp.org/JOGL-with-SWT-and-NEWT-and-OpenGL-ES-2-0-for-Eclipse-RCP-tp3772584p3772689.html
Hi
You have 4 solutions to do that:
- use the obsolete SWT heavyweight OpenGL canvas of SWT/Eclipse
- use SWT/AWT bridge with a GLCanvas
- use SWT/AWT bridge with NewtCanvasAWT + GLWindow (NEWT)
- directly use the official SWT heavyweight OpenGL canvas of JOGL
You have to put your JOGL "canvas" directly or via a bridge into an SWT container (Composite).
As far as I know, you can use any profile, you're not forced to use OpenGL ES 2. The first option is more limited as the OpenGL binding of SWT is no more maintained for years and is buggy. Good luck.
Edit.: Wade's tutorial are very good and I assume he spent quite a lot of time in writing them. If something is missing, maybe we could add some information about these aspects in the wiki.