Let's start with a basic OpenGL ES 2.0 setup (like the Xcode OpenGL game template), If I want to add parts (vertices I should say?) to my model over time, what should I do!
To clarify, let's say I want to add a "step" to a ladder every 5 seconds or every time user taps the view, I initialize with one "step" like an elongated cube and then as things are being rendered on the screen I want to "add" vertices to my data buffer (?),
can I just call:
glBufferData(GL_ARRAY_BUFFER, sizeof(gCubeVertexData), gCubeVertexData, GL_STATIC_DRAW);
with a brand new gCubeVertexData array of floats on the fly each time?
What is the best approach to this?