Results 1 to 3 of 3

Thread: sphere problem

  1. #1
    Guest

    sphere problem

    i'm doing an opengl program where i draw a sphere, the problem is that when i zoom out , another sphere appears inside the first one...

    thank you

    i look forward for an answer

    Pedro Silva

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: sphere problem

    Chances are it has something to do with unmatched push/pop matrix pairs, unmatched glBegin/glEnd pairs, or a random bug in your code.

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: sphere problem

    Are you clearing the colour and depth buffers?

Similar Threads

  1. Lighting Problem for the sphere
    By swethasharma in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-21-2012, 06:17 AM
  2. Problem with a sphere
    By Giacomo in forum OpenGL ES
    Replies: 11
    Last Post: 12-17-2005, 10:30 AM
  3. sphere mapping problem
    By snipper in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-05-2005, 07:27 PM
  4. Shading problem of sphere
    By openqc in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-19-2004, 08:22 AM
  5. Sphere problem
    By mathx in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-08-2001, 05:45 AM

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