I have this image of earth surface, and I want to map it to a glutSolidSphere. When I useI get strange results.Code:glTexGeni(GL_S,GL_TEXTURE_GEN_MODE,GL_SPHERE_MAP);
My texture is fully visible from one side of the sphere, and when I turn, the scene, the texture does not turn with the sphere. It's like I'm always seeing the same side of the sphere. I don't see how to map the image all around the sphere.
my image file and the results are visible at my website