[osg-users] adding object models in osgEarth best practices

David Bobavid david.bobavid at gmail.com
Thu May 2 12:47:32 PDT 2019


Hi Eran,

Ok, thanks! I'll look into that.

Last question (I think) for now... I'm trying to set my cow's orientation. From what you have suggested previously, would I add another MatrixTransform node with the rotations set into it? 

Or should I add a PositionAttitudeTransform instead? If so, are there some helper classes that I can use that will create the Quat properly based on my heading, pitch and roll? I've been looking through the headers and cannot seem to find something that will help.

Thank you again!

Cheers,
David

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75944#75944







More information about the osg-users mailing list