Results 1 to 5 of 5

Thread: gluSphere lighting problem

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2011
    Posts
    9

    gluSphere lighting problem

    Hello! I have a problem with distortion my gluSphere during an animation. I don't now how to precisely describe this, so I uploaded short video: click. When I turn a lighting off there is no more distortion when a ball comes within lines.
    A lighting is based on one positional light with constant attenuation and the light model ambient. The program is created in Java (jogl 1.1.1.a).
    What's the problem ?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: gluSphere lighting problem

    I could not see the distortion that u r talking about in the vdo u hve posted?
    Regards,
    Mobeen

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2011
    Posts
    9

    Re: gluSphere lighting problem

    The bottom edge of the ball seems to be ragged when the ball comes within lines.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: gluSphere lighting problem

    Quote Originally Posted by Jaguar
    The bottom edge of the ball seems to be ragged when the ball comes within lines.
    If you look at individual images instead of an animation, does it still look ragged? I suspect that the answer is no.
    Am I doing your homework for you?

  5. #5
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: gluSphere lighting problem

    Nice optical illusion here.
    Try a flat color instead of lines for the ground.

Similar Threads

  1. Problem with textures and gluSphere
    By div29 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-04-2011, 12:57 PM
  2. Replies: 4
    Last Post: 09-27-2004, 06:27 AM
  3. Lighting problem (opengl + shader lighting)
    By ox1d_47 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-19-2004, 09:43 PM
  4. gluSphere
    By ramana in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-19-2004, 11:49 PM
  5. gluSphere
    By ramana in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 01-19-2004, 11:49 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