Hey all, new question. It’s my understanding that I should combine multiple meshes into a VBO so that I can draw more efficiently. How would I go about doing this, considering the following?
- My meshes are instanced across the world
- Not all the meshes show up on screen at a single time
Where I’m really stuck is with instancing, if I want to draw the mesh in the VBO how do I move it’s position efficiently? Should I move the mesh to the proper location and then add it to the VBO? Wouldn’t that defeat the purpose of instancing? What about having to call glDraw* for every mesh anyway, since even if it’s in the VBO I only want to draw one of the meshes, or draw it multiple times in multiple locations?