Sign in to follow this  

how to correctly texture map a sphere?

Recommended Posts

i used gluSphere to create a sphere at (0,0,0,0). now, i want to apply a texture image to it. i used the normal way to create a texture (glbind, gl gen etc), with gluQadricTexture. but when i run the application, the texture starts at the center of the sphere instead of at the bottom, and rotating the sphere makes the texture stationary, while the sphere itself is spinnig. how can i fix this?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this