Hi Issac, I've just replied to your first question about depth buffer, so want answer the same question again...
One thing you might want ot do is step back and explain at a higher level what you are trying to achieve as it could well be that getting the depth buffer isn't what you need to do. Robert. On 28 April 2013 00:40, Isaac Cho <[email protected]> wrote: > Hi, > > I am trying to get z buffer from the camera scene. But I want to get a depth > image of a specific node, not whole scene. > > I tried RTT camera for depth image. It works but it reduces FPS. So I'm > trying to find the way to get a image with main camera, but still I don't > know how to do it. I've tested all callback functions for draw camera and > cull. I've also tested 2 camera's one has a node what I want to get depth > image and the other one has everything else. But with 2 cameras, I have a > problem with occlusion (depth info for transparency..) > > If anyone knows how to handle that, please help me to figure out what's the > best way to ge ta depth image of specific node. javascript:emoticon(':)') > ... > > Thank you! > > Cheers, > Isaac :) :) > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=53845#53845 > > > > > > _______________________________________________ > 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

