Original Post
I wanna write a demo, where after every given time, the program will render a group of two cube (diffirent colors) on the screen at random positions. But I don't know how to draw the multiple cubes... you know, i'm a newbie and the tutorials go with single cube only... How could I render the twin-cubes without knowing how many there are? If I render a lot of things on the screen (like.. 100 cube), do i have to keep the vertex buffer for all the things i have?