Can't run most jogl-demos on MacOSX

I have been trying to run the jogl-demos, but only some work under MacOSX 10.3.4. Does anybody know why I’m getting the errors below? I’m a newbie to jogl and OpenGL so maybe I’m doing something wrong.

Gears works :slight_smile:

HWShadowmapsSimple gives me the error :frowning: :
Unable to Initialize GL_ARB_pbuffer OPEN GL Extension

JGears just draws an empty window :frowning:

InfiniteShadowVolumes gives me the error :frowning: :
2004-06-28 23:39:08.766 java[15164] invalid pixel format
2004-06-28 23:39:08.768 java[15164] invalid context
net.java.games.jogl.GLException: Error creating nsContext
at net.java.games.jogl.impl.macosx.MacOSXGLContext.create(MacOSXGLContext.java:140)
at net.java.games.jogl.impl.macosx.MacOSXGLContext.makeCurrent(MacOSXGLContext.java:149)
at net.java.games.jogl.impl.macosx.MacOSXOnscreenGLContext.makeCurrent(MacOSXOnscreenGLContext.java:137)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:232)
at net.java.games.jogl.impl.macosx.MacOSXOnscreenGLContext.invokeGL(MacOSXOnscreenGLContext.java:84)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at net.java.games.jogl.Animator$1.run(Animator.java:104)
at java.lang.Thread.run(Thread.java:552)

Multisample works :slight_smile:

ProceduralTexturePhysics gives me the error :frowning: :
Unable to initialize GL_NV_vertex_program OpenGL extension

Tess works :slight_smile:

TestContextSharing works :slight_smile:

and so on…

What version of java are you running? I recently discovered that upgrading the developer preview 2 (developer.apple.com) fixed some of my problems…but as swpalmer has reported DP3 has been released today, so I’m downloading that now to check things out.

Also, have you got an up to date version of Jogl? I am currently using one from the 20th of June from http://homepage.mac.com/gziemski/projects/

Good luck.

[quote]What version of java are you running? I recently discovered that upgrading the developer preview 2 (developer.apple.com) fixed some of my problems…but as swpalmer has reported DP3 has been released today, so I’m downloading that now to check things out.

Also, have you got an up to date version of Jogl? I am currently using one from the 20th of June from http://homepage.mac.com/gziemski/projects/

Good luck.
[/quote]
I downloaded the version from your link and it worked a bit better, now most demos work except the following:

infiniteShadowVolumes
jgears
proceduralTexturePhysics
vertexArrayRange
vertexProgRefract

Is it because my videocard doesn’t support some OpenGL extensions? I have a Mobility RADEON 9600 64MB.

I’m running java version 1.4.2_03

Well, my system is as follows:

17inch G4 1.5Ghz powerbook
1.5GB RAM
ATI Radeon Mobility 9600 128 MB
Java 1.4.2_04 DP 3

The Procedural Texture Physics, Vertex array range, Hardware shadow demos are for NVidia cards only. All standard non-NVidia only demos work fine.

Check here: https://jogl-demos.dev.java.net/nonav/source/browse/checkout/jogl-demos/doc/readme.html

[edit] added link