Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: kingding

Search: Search took 0.00 seconds.

  1. thanks for your reply. This is the output image:...

    thanks for your reply. This is the output image: www.ihncs.com/thread-2733-1-1.html


    It seems the output image is not the depth image. The correct image should be a depth image of plane in the...
  2. How to render depth image for a 3D model ?

    hi~

    I used glReadPixels(0, 0, winw, winh, GL_DEPTH_COMPONENT, GL_FLOAT, zData);

    but failed.

    Does anyone can provide source code for this function?

    thanks so much.
Results 1 to 2 of 2