Hi YangXiao

I don't think it safe in a multi-thread program. The drawables' update
callbacks are handled in Viewer::updateTraversal(), and may conflict with
the last rendering traversal. Maybe you would change to single thread mode
or use setDataVariance() to set the drawable to be dynamic.

Wang Rui
2008/11/9 YangXiao <[EMAIL PROTECTED]>

> Thanks *Wang Rui I check color array size equal to vertex array size.*
> **
> I means can i update Drawable color array in DrawableUpdateCallback?
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to