Results 1 to 3 of 3

Thread: Weird torsion/twisting on my gluSphere

  1. #1
    Junior Member Newbie
    Join Date
    May 2015
    Posts
    12

    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:

    withouttextures.jpgwithtextures.jpg

    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

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2012
    Location
    Los Angeles
    Posts
    394
    ... 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.

  3. #3
    Junior Member Newbie
    Join Date
    May 2015
    Posts
    12
    Quote Originally Posted by Carmine View Post
    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!

Similar Threads

  1. gluSphere
    By GreenCat in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-10-2005, 11:26 AM
  2. gluSphere
    By ramana in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-19-2004, 11:49 PM
  3. How do i use gluSphere
    By ShinGouki in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-06-2003, 07:15 PM
  4. gluSphere (?)
    By Vlasko in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 01-27-2002, 07:04 AM
  5. gluSphere
    By joey in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-09-2001, 11:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean