"Yrieix Leprince" writes: > Hi, > > I am working on a osg::Geode (constructed from .osgb files), and I > would like to have all the 3D coordinates of each pixels (x,y,z), and > also the Red Green Blue values. At the end I need to have a 3D point > cloud with RGB values as properties. > > I have tried many ways to answer this need, but no one is working... Does > anyone have encountered the same issue ?
Hi Yrieix, a good start would be the osgpick example, since it teaches you how to use the intersection system. You would have to sample your object and cast one intersection per pixel. -- Alberto _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org