In the DirectX mobile lighting sample, a cylinder is generated in the following manner:
for( DWORD i=0; i<50; i++ )
{
FLOAT theta
The usual way to triangulate a unit sphere is to build a tetrahedron or a icosahedron and
To avoid duplicating vertexes at the edge midpoints, you need to track the existing vertices for reuse.