Hi Johan,

It would be worth stepping back a bit and explaining from a high level
what you are trying to do in terms of doing occlusion testing, as
there are many ways to do occlusion testing, one can't really answer
what would be the best technique without knowing more about the
problem you are wanting to solve.

On Nov 27, 2007 12:27 PM, Johan Johnsson <[EMAIL PROTECTED]> wrote:
> Hi !
>
> i wonder over something in my occluding technique: does openGL have
> anything that is faster than
> glReadPixels(win.x(), win.y(), 1, 1, GL_DEPTH_COMPONENT,
> GL_UNSIGNED_INT_8_8_8_8_REV, &bufferZ); to get the depth from each pixel?,
> if not what i suggested to do ? Ive been thinking of making a shader out
> of it , but im not sure yet.
>
> --
> Mr. Johan Johnsson
> AutoSim AS, Strandveien 106, 9006 Tromsø
> Visit us at http://www.autosim.no
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to