Hi Rabbi
Thank you for your suggestion.
I tried to make it as follows:
Node* ResetNodeMatrices( Node *node)
{
osg::Group* root = new osg::Group;
osg::Matrix matrix;
osg::MatrixTransform* transform = new osg::MatrixTransform;
matrix.makeIdentity();
transform->setMatrix(matrix);
root->addChild(transform);
transform->addChild(node);
return root->getChild(0);
}
but the result was the same. What did I do wrong?
Thank you!
Cheers,
Danny
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16251#16251
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org