Get a GL context from an external (OpenGL) C application

Hello,

Sorry if my question was already asked numerous times, I would like to get a GL context created in a external C application, or to say it differently, to render Java in a external OpenGL context. I would use it to draw Java2D-like elements on a surface presented somewhere in a 3D world create by another application.

Is is possible in JOGL, and if yes, how ?

Yes, you can do this with JOGL; see GLDrawableFactory.createExternalGLContext().

Thanks !!! I will use it soon !!!