[osg-users] Getting the height of a 3DS node

Adrian Jelffs adrian.jelffs at makai.com
Mon Mar 12 19:13:45 PDT 2018


Hi Robert,

Awesome, this works great! Thank you for steering me in the right direction.

osg::BoundingSphere bs = _myNode->getBound(); 

Is there anything that can get just the height of the node? In my case the node is quite long but not very tall so using a sphere places my text much further away than necessary.

Many thanks for your help!

Cheers,

Adrian

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







More information about the osg-users mailing list