Hello everyone,
I’ve got a Dell Inspiron 8500 notebook with a P4 2.4 Ghz cpu running Windows XP, and my video card is:
OpenGL Renderer = GeForce4 4200 Go/AGP/SSE2
OpenGL Version = 1.4.0
OpenGL Vendor = NVIDIA Corporation
I’ve been able to run some demoes, but not others, and so I’m trying to figure out what’s wrong.
Interestingly, I was able to run the Xith3DCollisionDropTest demo, but not the Xith3DSphereMotionLightingTest demo, which is opposite what I would expect to happen. Basically, the sphere would render about 50 times or so, and then it would disappear and a dialog box would appear:
Runtime Error!
Program: C:…\bin\javaw.exe
abnormal program termination
So I started removing code from the Xith3DCollisionDropTest to see if I could cause it to crash also. I found that after removing all of the geometry except either a cube or a sphere the program would crash giving the same error as above. If I have a cube AND a sphere it would run just fine, but if I only have 2 spheres it crashes or if I only have 2 cubes it crashes. So adding a cube to the Xith3DSphereMotionLightingTest fixes the problem. Any idea what may be the cause of this?
Also, I am going to be writing some applications that use spheres and cylinders, and I noticed that there is a TestUtils class that has a method createSphere(float R, int divisions)that creates spheres using triangles. Is there a way to create spheres in Xith3D using OpenGL quadrics instead, and how would this effect performance if you could?
Also I have attached another error that I have seen while running Xith3D. Looks like a JOGL problem?
Thanks for any help.
Jason Cheatham
net.java.games.jogl.GLException: Error swapping buffers
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:140)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:193)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1010)
at com.xith3d.scenegraph.View.renderOnce(View.java:732)
at com.xith3d.scenegraph.View.renderOnce(View.java:665)
at Xith3DCollisionDropTestStripped.runTest(Xith3DCollisionDropTestStripped.java:326)
at Xith3DCollisionDropTestStripped.init(Xith3DCollisionDropTestStripped.java:306)
at Xith3DCollisionDropTestStripped.main(Xith3DCollisionDropTestStripped.java:379)
I was able to run all of the demoes which is great. What does that mean with Java Web Start though? Is there a way to detect if the graphics card needs vertex buffer caching turned off in order to run correctly so that the demoes run from JWS?