how to use glBlendEquationEXT?

Im at a loss as to how I use the glBlendEquationEXT function in jogl. In c++ you have to call wglGetProcAddress, among other things, to get the extension’s process address to use. the code in c++ would be:


typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (int mode);
PFNGLBLENDEQUATIONEXTPROC glBlendEquationEXT;
//...
glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC) wglGetProcAddress("glBlendEquationEXT");

How can I do this in jogl? When I simply use glBlendEquationEXT it says:
Method “glBlendEquationEXT” not available
yet when i run the c++ code using the above code, it works fine… im at a loss

What do glGetString(GL.GL_VENDOR) and glGetString(GL.GL_VERSION) report? What is the output from demos.printext.PrintExt (run from the command line)?

You’re probably getting a non-hardware-accelerated pixel format and falling back to the Microsoft software OpenGL renderer.

Yeah, i see the problem… you are right, im using the microsoft software drivers, and gl version 1.1.0. I was wondering why the extensions sting only had 3 extensions for a radeon 9100

Try using an unmodified GLCapabilities when constructing your GLCanvas. The defaults seem to select hardware acceleration on most platforms. Also, if you aren’t running your desktop in 24-bit color depth, that might help.

Yes, and if you want to use alpha values, such as in Volume rendering, u need to set Alpha bits to 8, or you will get nothing of alpha value when you read RGBA