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 4 of 4

Thread: How to set Depth Buffer ?

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    3

    How to set Depth Buffer ?

    To All:
    How to set Depth Buffer Bit without changing VGA's Color Bits? Thanks

  2. #2
    Intern Contributor
    Join Date
    Jul 2001
    Location
    Czech Republic
    Posts
    78

    Re: How to set Depth Buffer ?

    call glColorMask(0,0,0,0);

  3. #3
    Intern Contributor
    Join Date
    Jul 2001
    Location
    Czech Republic
    Posts
    78

    Re: How to set Depth Buffer ?

    well, I haven't tried that before and now I found out that my OpenGL card does not support it (->switches to software mode).

    Another idea is glDrawBuffer(GL_NONE);

    hope it helps
    Platinum

  4. #4
    Intern Newbie
    Join Date
    Oct 2001
    Location
    Orange County, Ca
    Posts
    41

    Re: How to set Depth Buffer ?

    You can also try glDrawPixels with GL_DEPTH_COMPONENT.

Posting Permissions

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