Login  Register

Re: [JOGL] VBO's not updating

Posted by gouessej on Jun 03, 2015; 1:19pm
URL: https://forum.jogamp.org/JOGL-VBO-s-not-updating-tp4034566p4034597.html

Don't worry about the very last warning, it probably means that your driver claims to support DRI2 whereas it doesn't.

You can use a GLSL sampler and/or a texture atlas, look at how it is implemented in ArdorCraftAPI.

If I were you, I would start with something more simple and I would add a few things step by step in order to find the culprit. I assume that you will use several instances of VoxelizedObject, then don't modify this class as it shouldn't implement GLEventListener. Your implementation of GLEventListener should contain the whole drawing code or use other classes containing it.

An efficient voxel engine uses some optimizations that are very specific to this kind of rendering, that's why I advise you to look at ArdorCraftAPI even though you won't use it.
Julien Gouesse | Personal blog | Website