Before I have switched to VBOs I was using immediate mode and Display lists. Since both ways are either depreciated or slow I decided to start using VBOs. Now I got a little problem, which is not really related to VBOs but more to drawing in 3D room.
I have done quite a bit of research and figured out that you got basically 2 coord. systems in OpenGL, a static one, and one which you are able to move around etc.
However, I somehow could not figure out how to do render loops for a single object (entity, w/e you wanna call it). I tried it the following way:
Yes, this way does not really work. The objects only get drawn a single time and disappear afterwards. Also, I am not exactly sure (or: I highly doubt) if moving the coord. system for every render loop is really smart.My question:
How to do efficient render loops for several objects/entities ?
Thanks in advance!