PDA

View Full Version : Can you texture a sphere defined using auxSolidSphere?



Rhaegar
03-22-2003, 12:21 PM
I'm trying to make a little solar system using spheres made with auxSolidSphere. Is it possible to take a bmp and texture a sphere that was made with this auxSolidSphere?

If not what would be the best way to go about creating a sphere that I could texture?

Thankyou very much.

Rhaegar
03-22-2003, 12:32 PM
Sorry, I should have searched first.

Apparantly I should use gluSphere instead.

nexusone
03-22-2003, 12:39 PM
glu objects are the only ones that have texture coords

gluSphere



Originally posted by Rhaegar:
I'm trying to make a little solar system using spheres made with auxSolidSphere. Is it possible to take a bmp and texture a sphere that was made with this auxSolidSphere?

If not what would be the best way to go about creating a sphere that I could texture?

Thankyou very much.

Rhaegar
03-22-2003, 01:05 PM
Is there a way to wrap the texture around a different axis. The way I have set up my planet rotation it is rotating around the y axis (i.e. vertical axis). However the texture is wrapped around the z axis which means when it rotates it looks wrong.