Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

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
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    802

    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
    Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    386

    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,655

    Re: gluSphere lighting problem

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •