Is using the same VBO for two objects okay?

c++, freeglut, opengl, rendering, vbo

Solution

This is fine and recommended, most people do this to avoid duplicate data in memory which is of no use. There is no penalty for doing so.

Problem

Lets say if I have multiple of the same Object and I want to render them in different places. Could I use the same VBO (to save ram) but change the matrices that are sent to the Shader? Or it this wrong?

Original source