I am totally new with OpenSceneGraph
I can open and save an OSG asset. I need to do some simple transformations on it, like dimension scaling/rotation/translation.
It seems a pretty easy task, anyway I can't find any quick documentation :/
osg::ref_ptr<osg::Node> rectangle = osgDB::readNodeFile("../../inputs/Rectangle.osg");
// define simple transformation matrix
// apply simple trnasformation matrix
osgDB::writeNodeFile(*rectangle, "../../outputs/saved.osg");
Any hint?