Using Ogre 1.8 with JOGL and OpenGL ES 2.0
Posted by seahorse on Feb 17, 2012; 4:33pm
URL: https://forum.jogamp.org/Using-Ogre-1-8-with-JOGL-and-OpenGL-ES-2-0-tp3754215.html
I want to use the latest version of Ogre (Ogre 1.8) and render to a SWT control using
OpenGL ES 2.0.
For this can I setup GLcanvas, GLProfile, GLCapabilites classes which are provided by Jogamp
to setup the EGL part(window handling part) and use Ogre rendering calls through a native JNI
interface which will automatically draw the 3D part.
Basically the whole window handling part will be delegated to JOGL classes GLcanvas, GLProfile, GLCapabilites.
And the 3D drawing part will NOT be done by JOGL but will be done at the native (C) layer itself
through a seperate Java class unrelated to JOGL.
Is such a case will Ogre scene get succesfully rendered on the JOGL Surface?
I want to avoid setting up the EGL part myself without using JOGL because it seems JOGL has a lot of abstractions, classes and code related to Window Handling and it would be worthwhile not to rewrite that.