Weird torsion/twisting on my gluSphere

Hi all. This is probably a really noobish question, but I haven’t been able to generate a useful search phrase. I’m writing a simple solar system simulator and my gluSpheres have some sort of distortion. Here’s what it looks like with and without textures:

[ATTACH=CONFIG]1065[/ATTACH][ATTACH=CONFIG]1066[/ATTACH]

You probably can’t tell from the screenshot, but South America is showing up at the same longitude as Saudi Arabia. If your geography isn’t so good, it’s like somebody gave the whole planet an indian sunburn around the equator. Any suggestions about what could be causing this?

Thanks in advance.

John

… it’s like somebody gave the whole planet an indian sunburn around the equator.
Even without the texture turned on, your sphere is messed up. Looks like depth testing and/or gl_cull_face haven’t been enabled or set up properly.

I didn’t know face culling had to be activated, but I read up on it and fixed the issue. Thank you so much!