Re: [osg-users] How to scale/rotate/move an asset in OpenSceneGraph

2020-02-12 Thread OpenSceneGraph Users
That helped a lot. Thanks Regards Luca Il giorno mar 11 feb 2020 alle ore 17:38 Armin Samii ha scritto: > Check out the examples directory. > One example: > https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osganimate/osganimate.cpp#L247 > 1. Create a MatrixTransform > 2.

Re: [osg-users] How to scale/rotate/move an asset in OpenSceneGraph

2020-02-11 Thread OpenSceneGraph Users
Check out the examples directory. One example: https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osganimate/osganimate.cpp#L247 1. Create a MatrixTransform 2. Add your rectangle as a child of that transform 3. Save the MatrixTransform node On Tue, Feb 11, 2020 at 11:29 AM Luca

[osg-users] How to scale/rotate/move an asset in OpenSceneGraph

2020-02-11 Thread OpenSceneGraph Users
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 rectangle =