I'm new to this forum and instantly posting a problem. I hope you don't mind
I'm not about sharing you any code (because i haven't coded it, yet) but i want to know an efficient solution for following situation. I have multiple questions.
Since it's not possible to have multiple active VBOs at once i have to bind them over and over again and i have to bind all every tick which takes lots of time and is too slow in my opinion. The best way i guess is to create a single VBO with all information and use an IBO to seperate the information when drawing.
My problem here is that I want to have dynamic content inside my VBOs for things which not have constant vertices like my map or maybe some models. Things could also be added or removed from my list of things i want to draw. How do i do this the best way? I mean i could bind a big VBO with all constant meshes and every dynamic VBO which are created every tick alone. The problem with this is that it would have to pass all information over and over again every tick which takes lots of time (i guess less than binding more small VBOs).
So is passing every VBO every tick the only solution since things may not get drawn always and other things may change their mesh?
Additionally i'd also have to pass every other information like normals and colors/uvs over and over again :/
Thanks a lot
Edited by Ichi, 08 April 2014 - 02:22 AM.