I've loaded a wavefront model file (.OBJ and .MTL) and stored the vertices/indices in a VBO for rendering. Now I only populate the VBO once when the model is loaded. My question is... What is the best way to reuse this vertex data to redraw multiple instances of the model? At the moment, I'm just storing a transform matrix (rotation, scaling and translation) for each instance of the model and calling the draw()
function for each instance with the relevant transform matrix.
Is this a completely incorrect way to do this? What are some better/alternative ways to achieve the same outcome?
Obviously, this will only work for very basic models where the object is stationary with respect to itself (i.e. that no parts of the model are moving regardless of it's world orientation). This is what leads me to believe that there are indeed much better ways to do this.
Hope my ramblings make sense...