Hey all,
Are there any examples around in JOGL that anyone knows about that use gl.glVertexPointer() and gl.glArrayElement() ? I just don’t think I’m using them right and trying to figure this out.
Any help much appreciated.
Hey all,
Are there any examples around in JOGL that anyone knows about that use gl.glVertexPointer() and gl.glArrayElement() ? I just don’t think I’m using them right and trying to figure this out.
Any help much appreciated.
If i remember well you should have examples in Nehe Demos.
Hi, there’s one working example in the simple tile demo I wrote a while back:
http://www.g0dmode.com/javastuff/jogl-tiledemo.zip
…see classes TileGrid.java (vertex arrays, only glVertexPointer and glDrawArrays are used, though) and TileGridVBO (VBO).
Cheers