Results 1 to 4 of 4

Thread: how to get the data of hidden-surfaces from depth buffer????

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2006
    Location
    beijing.china
    Posts
    10

    how to get the data of hidden-surfaces from depth buffer????

    I use depth test to complete the hidden-lines and hidden-surfaces removal.Now I want to get the data of hidden-lines and hidden-surfaces from the depth_buffer.such as the information of vertexs , color ,etc.
    Is there any good advice??
    Study Study Study and fly

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2000
    Location
    Naarn, Austria
    Posts
    1,102

    Re: how to get the data of hidden-surfaces from depth buffer????

    You can't get this information back. The depth buffer algorithm just draws visible surfaces over the invisible ones, overwriting whatever was there...

    Why do you want that information? Perhaps there's a simpler solution to your problem.

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2006
    Location
    beijing.china
    Posts
    10

    Re: how to get the data of hidden-surfaces from depth buffer????

    Can I read visible surfaces information from the buffer?? which one is OK .
    Study Study Study and fly

  4. #4
    Guest

    Re: how to get the data of hidden-surfaces from depth buffer????


    Try the default.
    Try them all!
    Whip up some java and have a ball!


    The default is a win-win scenario. On good authority I do have it. Yes, that I do.

Similar Threads

  1. Replies: 11
    Last Post: 05-19-2015, 01:48 AM
  2. 3D object draw/hidden surfaces .....
    By Irena in forum OpenGL: Basic Coding
    Replies: 26
    Last Post: 02-12-2010, 02:11 PM
  3. how to get the data of hidden-surfaces ????
    By marshallcp in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-01-2006, 11:47 AM
  4. Remobing Hidden Surfaces
    By in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 05-16-2002, 12:11 AM
  5. OGL - Hidden Surfaces (Depth Buffer)
    By Spaceman in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-23-2000, 07:49 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