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
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:
2 matches
Mail list logo