Re: [osg-users] How to get the colors of the points from a osgb or osgt file

2014-04-17 Thread Robert Osfield
Hi Yong, You'll need to load the file then use a custom NodeVisitor to traverse through the scene graph to locate all the osg::Geode leaves, then look at all the osg::Geometry within the Geode's and get the colours from the ColorArray attached to the osg::Geometry. Have a look at the NodeVisitor

[osg-users] How to get the colors of the points from a osgb or osgt file

2014-02-25 Thread Young
Hi, I have a osgb/osgt file, and I want to get the color of each point contained in this file, what should I do? I am a newcommer to osg, and any suggestion is welcome. Thank you! Cheers, Young -- Read this topic online here: