Re: VAO and VBO creation
Posted by PedDavid on May 31, 2015; 11:50pm
URL: https://forum.jogamp.org/VAO-and-VBO-creation-tp4034542p4034548.html
Just wanted to let you know that I finally managed to make it :D (after trying the code that I had before with your explanation I still had problems (nothing was rendering) but managed to find the problem, forgot to multiply my buffers.capacity() by 4 in the parameter gl.glBufferData to get the value in bytes. I also already managed to put a simple shader working and I'm now going to work on textures. Thanks a ton for your help :)
Edit: Also, the code is a little bit messy because I started doing it the same way I coded games before but I can probably post it after if someone wants to take a look