Hi Robert,
I'm currently checking the new 3.1.8 release with much appreciated new
osg::Geometry implementation.
There are some question comming up however:
I'm trying to adapt some of the osg-plugins to the new Geometry, for
instance the openflight implementation.
There are calls like those:
geometry->setColorBinding(osg::Geometry::BIND_PER_VERTEX);
If I understood everything correctly, those calls are to be replaced with:
geometry->getColorArray().setBinding(osg::Array::BIND_PER_VERTEX)
Is this correct?
Those binding are set afterwards, due to the openflight structure, so I
guess this is the way to go.
If so, I'd be happy to fix the openflight plugin.
cheers
Sebastian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org