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: Weird Texture Problem

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    Albuquerque, NM, USA
    Posts
    2

    Weird Texture Problem

    I am making a small 3d type game with a bunch of cubes scattered everywhere. I have noticed that when cubes are far enough away they start to flicker and fluxuate. Some of the polygons are not drawn completely, and this is really annoying. I have tried every texture mapping option that I can think of but none have worked. The lighting also messes up when the cubes get farther away. I am just wondering if this is a bug in OpenGL or if there is something I am forgetting to do.
    MaLord

  2. #2
    Intern Newbie
    Join Date
    Jun 2001
    Location
    salt lake, ut, usa
    Posts
    38

    Re: Weird Texture Problem

    check your back clipping plane. Try some fog, it will improve depth ques and *hide* your bug.

  3. #3
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Karlsruhe, Germany
    Posts
    486

    Re: Weird Texture Problem

    use 32 depth buffer, it should solve the problems.

  4. #4

    Re: Weird Texture Problem

    Sounds like your talking about Z-Fighting. Have you tried increasing your near clipping plane?

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    Albuquerque, NM, USA
    Posts
    2

    Re: Weird Texture Problem

    Thanks for the help, but I can't seem to figure out how to change the number of depth bits in GLUT.
    MaLord

Posting Permissions

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