Re: Drawing textures using VBO

Posted by gouessej on
URL: https://forum.jogamp.org/Drawing-textures-using-VBO-tp4033297p4033298.html

Hi

You should look at the examples in jogl-demos, especially those of the OpenGL red book. Look at the manual:
https://www.opengl.org/sdk/docs/man2/xhtml/glTexCoordPointer.xml
https://www.opengl.org/sdk/docs/man2/xhtml/glVertexPointer.xml

The "size" is probably wrong.

Edit.: Another example is here.
Julien Gouesse | Personal blog | Website