In a recent(ish) thread http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1082751524 there was talk of setting up VBOs and Ken Russell suggested looking at the example in jogl-demos. I downloaded and compiled to get an extension error
// error message :"GL_ARB_vertex_buffer_object unavailable"
wglSwapIntervalEXT available; disabling sync-to-refresh for best framerate
java.lang.RuntimeException: OpenGL extension "GL_ARB_vertex_buffer_object" not available
at demos.vertexBufferObject.VertexBufferObject.initExtension(VertexBufferObject.java:263)
at demos.vertexBufferObject.VertexBufferObject.access$200(VertexBufferObject.java:68)
at demos.vertexBufferObject.VertexBufferObject$VBOListener.init(VertexBufferObject.java:283)
at net.java.games.jogl.impl.GLDrawableHelper.init(GLDrawableHelper.java:68)
at net.java.games.jogl.GLCanvas$InitAction.run(GLCanvas.java:191)
at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLContext.java:160)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(WindowsOnscreenGLContext.java:110)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:203)
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:534)
but the example from NeHe lesson 45 works fine. Is this simply because of different availabilities of types of vertex buffer calls.
Sorry if this is a really dumb question but my brain has turned to slush 2day