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: li.j.z

Search: Search took 0.00 seconds.

  1. The data I showed are not right. It just seems...

    The data I showed are not right. It just seems the boundary of the model. All the values inside are all 1.0. And when I called glReadPixel again, all the data will be 1.0 even at the boundary.
  2. Actually, even what I read is not totally right....

    Actually, even what I read is not totally right. It seems only very few good values. So it is not usable.
  3. I'm not sure about this because the program I'm...

    I'm not sure about this because the program I'm working with was not written by myself. Do you know how to check if the depth buffer is cleared? And do you know if the model is rendered with FBO or...
  4. I checked all the digits with a cylinder from...

    I checked all the digits with a cylinder from front view. The axes of the cylinder is in the screen.

    When I first run the code, z-buffers not equal to 1.0 are like this in the range of the model...
  5. Why I can't get the depth value with glReadPixel()?

    I am using an opengl rendering program to do some simulation. Unfortunately, the model redering code is not availabe. What I'm doing is first loading and rendering a model with this program, and the...
  6. Thanks for the explanation.

    Thanks for the explanation.
  7. Now I'm clear. Thanks any way. BTW, is glsl a...

    Now I'm clear. Thanks any way.
    BTW, is glsl a replacement of opengl?
  8. Sorry, I am not. But I googled glsl, it seems a...

    Sorry, I am not. But I googled glsl, it seems a higher level APIs than opengl.
    What I am doing at the moment is using opengl rendering to do some simulation. I first draw and render a model with...
  9. Thanks. You mean we can get the normal vector of...

    Thanks. You mean we can get the normal vector of each pixel before the model is rendered and could you please tell me more info on how to do this. Thanks again.
  10. How to get the normal vector of a pixel which is used for lighting in OnenGL?

    We know that the normal vector of a pixel is used for lighting in openGL and the normal vector of each pixel of the displayed model is known to openGL before lighting rendering, so is there any way...
Results 1 to 10 of 10