Re: [osg-users] Fwd: Fwd: CallBack issue

2009-03-28 Thread Ulrich Hertlein
Hello Sajjad, On 28/3/09 10:00 PM, ami guru wrote: The following snippet may elaborate more: **' mtLeft->setUpdateCallback(new RotateCB); osg::Matrix m; m.makeTranslate(-6.0f,0.0f,0.0f); mtLeft->setMatrix(m); *' On the above

[osg-users] Fwd: Fwd: CallBack issue

2009-03-28 Thread ami guru
Hello ulrich, The following snippet may elaborate more: **' //SET THE data variance to dynamic to let OSG know that //we shall modify this node during update traversal mtLeft->setDataVariance(osg::Object::DYNAMIC); //set the update callback mtLeft->setUp