gluBuild3DMipmaps?

Hi
I have been trying to use the function gluBuild3DMipmaps on win32 but i get the error:
net.java.games.jogl.GLException: This GLU 1.3 function is not available on Win32 platforms because Microsoft Windows ships with a GLU 1.2 implementation
My question is: is there a solution to this, are there some GLU 1.3 dll that I can ship with my app? in that case, where?

thanks in advance //
Gregof

Mesa (www.mesa3d.org) uses the GLU sample implementation from SGI, which implements the 1.3 spec. You could use this one, but you would have to figure out a way to make jogl use the correct dll. I’m not 100% sure, but I don’t think this is currently possible without modifying the source code.

I checked in the jogl source code and the exception you are getting is hardcoded, so even using a different dll wouldn’t help. In practice this means that next to modifying the used dll, you would also have to tweak the gluegen configuration files for the glu classes (cfr. make/glu-impl-win32-GLU13Hacks.cfg).

Well, thats depressing… :’( Is someone working on this?

// Gregof

Hi,

OpenGL is integrated in the graphic driver, thus get the newest graphic driver for your card.

ciao torsten

Nobody is currently working on this issue. If you’d like to contribute code to fix it there are two basic options. One is to port the needed pieces of the GLU sample implementation (available at http://oss.sgi.com/ ) to pure Java and replace the bodies of the autogenerated routines in the GLU class. The second is to extract the needed pieces of the GLU sample implementation and put them into the jogl.dll/libjogl.so. If you don’t feel up to this task then please file an RFE about it on the Issues section of http://jogl.dev.java.net/ .