does anyone have an algorithm to draw a sphere? Also, I would like to know if drawing your own sphere manually is faster than using Direct3DX's function.
Use triangle strips, and use a nested loop with spherical coordinates letting theta go from 0 to 2*pi and phi go from 0 to Pi. It's not pretty, but it's what you have to do. I'm not sure about D3DX's sphere drawing; I didn't even know it had one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.