I'd like to display 100 floating cubes using DirectX
or OpenGL
.
I'm looking for either some sample source code, or a description of the technique. I have trouble getting more one cube to display correctly.
I've combed the net for a good series of tutorials and although they talk about how to do 3D
primitives, what I can't find is information on how to do large numbers of 3D
primitives - cubes
, spheres
, pyramids
, and so forth.