Original Post
Hello! Just a few quick questions about object instancing... Say I want to create a sphere object, so I use opengl to define the points via a loop say. Is this an efficient way of generating an object? Also if this were so then if I was to create a grid of these spheres can I use a loop to generate the instances such as I know the code probably wrong, but I would like to know a good way of creating multiple instances of a class object that generates say a sphere.... If that makes any sense, or have I got the wrong idea all together?? Thanks heaps in advance.
for( int i; i > 10; ++i)
{
sphere (sphere + char(i));
}