Re: [JOGL] VBO's not updating
Posted by Al on Jun 02, 2015; 12:25pm
URL: https://forum.jogamp.org/JOGL-VBO-s-not-updating-tp4034566p4034582.html
Thank you very much for your convern.
I reuploaded some modification you said to me, like:
- not store instances and getCurrentGL() instead ( In TrackingBall, and loadVoxel)
-I remade the function loadVoxel to separete the portion of code call by the init function and the display function (loadVBO and reloadVBO)
-reloadVBO uses glBufferSubData, after suppressing the previous vbo by calling glBufferData with a null pointer.
Is that right ?