How to draw sphere in Directx9...

Started by
2 comments, last by aftabazmi 15 years, 6 months ago
I know that we can draw sphere using mesh(D3DXMesh)....Is there any other method of drawing sphere...i heard that we can draw it using tetrahedron???? plzz some one please send me the code to draw sphere...
Advertisement
You can calculate the position of all the vertices, fill a vertex and index buffer, and render it like that, yes. Google gives thousands of results. Example
Also, there's D3DXCreateSphere (see d3dx9shape.h).
Thanxx for the help...

This topic is closed to new replies.

Advertisement