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.
Robert. On 5/16/07, Serge Lages <[EMAIL PROTECTED]> wrote:
Hi all, I have made tests where I have 3 nodes (with 1 drawable for each) : - the first one has a texture and color binding set to off - a second one hasn't any texture and has a color setted - and a last one has the same texture than the first node and has the color binding set to off The 3 nodes are added at the same level to a root node. And when rendered, the last node has the color from the second one applied to it. I would like to know if this behavior is normal ? Attached you can find my test program and its output. -- Serge Lages http://www.magrathea-engine.org _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
