Hi Is the image that you attach to camera have same dimensions as camera viewport? May be you rendering only small part of picture to your image ( like small piece of sky )
Cheers, Sergey. 17.09.2012, 17:09, "Andrey Shvartsman" <[email protected]>: > Thanks, hybr. But I still do not know why the values in the image attached to > the depth buffer are the same in every single array cell, when I would expect > to see a lot of variance between the top and bottom portions of the image, > given that the top portion would be covering the sky, and the bottom half is > covering the terrain. > > And can anyone comment on the approach itself vs using ray-tracing for > emulating a lidar-like sensor? > > Thank you! > > Andrey > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=50136#50136 > > _______________________________________________ > 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

