Ever since jsr-231 extensions have been excluded in the glue code generation process. I was wondering if/how we could make are own extensions using glue.
Thanks
No, only those extensions which were folded in to the core OpenGL 1.3 spec (and previous specs) have been excluded. The entry points (e.g., glActiveTexture) are still there as long as your baseline OpenGL implementation is 1.3 or greater. Since most OpenGL implementations out there today are 1.3 or later excluding these extensions should have no effect for most applications. Have you found a situation where you can not call these core OpenGL entry points?
I was thinking vender extensions, like ati has a higher order extension that works quiet nicely that I would like.
Nearly all of the vendor extensions are exposed in the JOGL API. However we haven’t updated our glext.h header file in a little while so it’s possible some recent ones are missing. Which extension or extensions in particular are missing?
I would have to look into it but the truform one i mentioned is
ATI_pn_triangles
http://www.opengl.org/about/arb/notes/meeting_note_2001-06-12.html#ext_pntri
thats really all I could dig up on it everything else is about the press release
It’s already exposed in the GL class. All of the enumerated constants (GL_PN_TRIANGLES_ATI, GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI, etc.) and the two APIs (glPNTrianglesiATI and glPNTrianglesfATI) are present. You need to check the availability of the extension using GL.isExtensionAvailable(“GL_ATI_pn_triangles”) and can then legally call those entry points if it returns true.
Maybe what you’re thinking of is the fact that the window system-specific extensions are no longer in the public API. This is true and was done because most of these extensions were useless to the end user anyway because they required access to low-level data structures not exposed via JOGL. Most of these extensions have already been abstracted away into platform-independent calls such as GL.setSwapInterval() and JOGL’s multisample and pbuffer support.
alrite sorry to waste your time and thanks