Login  Register

Re: Vertex Buffer Object Help

Posted by gouessej on Apr 29, 2014; 3:29pm
URL: https://forum.jogamp.org/Vertex-Buffer-Object-Help-tp4032248p4032249.html

Hi

At first, please can you confirm that the unchanged code works as expected on your machine?

Secondly, please provide a SSCCE instead of something partial and unusable.

Thirdly, you should inject your changes gradually. Just make a small modification, check that the code still works and so on... That way, you'll probably be able to find alone what breaks your code and maybe we will be able to help you to fix it.

Edit.: 18 = 3 * (3 + 3)       3 vertices, each vertex uses 3 floats for its coordinates and 3 floats for the RGB values (colors).
Julien Gouesse | Personal blog | Website