On 5/16/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

Hi Serge,

I haven't reviewed the code, but the normal reason for vertex data
being inherited from geometry to geometry is that a certain attribute
has been set in one of the geometries, for instance if it doesn't have
a colour array then its colour is effectively undefined, and it'll
just inherit what was last set.



But setting :
geometry->setColorBinding(osg::Geometry::BIND_OFF);
Sould not prevent this inheritance ? We must set a color array to each
geometry to not get the last color applied to it, even if a texture instead
of a color is applied to it ?

--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to