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?

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/a6df11c6-2805-44e4-af15-62aa8a77dabb%40googlegroups.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to