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