problems running with latest jogl

Hello all,

I’ve recently extracted the latest versions of xith and jogl from cvs, as I wanted to have a go at building them my self.

After a downloading session where I got allt eh extra bit I needed I decied to give my finished products a test.

Unfortunatly when I tried to run the xith tests (cubetest)
I go the following output (and an exception):

starting frame speed test Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl OpenGL Renderer = GDI Generic OpenGL Version = 1.1.0 OpenGL Vendor = Microsoft Corporation OpenGL Extensions = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture

I though that I might have a driver problem so got the latest nvidia drivers. Still the same issue. When I used the jogl.jar supplied with xith it worked fine and picked up the correctc opengl details:

starting frame speed test Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl OpenGL Renderer = GeForce2 GTS/AGP/3DNOW! OpenGL Version = 1.5.0 OpenGL Vendor = NVIDIA Corporation OpenGL Extensions = <lots>

The jogl gears demo (in my build) seems to pick up the correct details:

CANVAS GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl INIT GL IS: net.java.games.jogl.impl.windows.WindowsGLImpl GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce2 GTS/AGP/3DNOW! GL_VERSION: 1.5.0

Does anyone have any ideas why when i used xith witht he latest jogl it dosn’t pick up the correct details?

Cheers in advance,
Dan.

Hello,

I just submitted a fix for this issue to CVS. In the latest version of JOGL there are some changes of how GL capabilities chooser decides which pixel format should be used. Currently, JOGL default chooser prefers to use pixel format reported by operating system as preferred, while it is not always Xith3D wants to use.

To work around this, I provided old-style capabilities chooser in render.jogl package, so until we get stable mechanism from JOGL, the old one will be in use.

Yuri

Thanks,

I thought it was me that had done somthing wrong :wink:

Dan.