@grudzio: Thank you for the parameter names.
I also like that website very much. :razz:

@Clootie:
I will not use D3DXCreateSphere in my engine because i make my own primitive/mesh classes.
I know it's a lot of work, but i am learning very much by doing that myself.

@Cragwolf:
Glusphere is not an option because i am using D3D.
However, the texture-mapping algorithm in that article is quiet good. It will take some time though to implement it because of the differences between the ways of sphere creation.

Thank you all for your replies.. i will post in this thread when i encounter any problems with sphere texture mapping. If anyone knows other ways to map a texture to a sphere, please post it.