Thanks Grodon. :-)
2008/10/30 Tomlinson, Gordon <[EMAIL PROTECTED]> > Hi > > Get bounds is the local coordinates of the node. > > So yes any scale in the tree above the node will need to be factored in if > you matrices that apply a scale above the node > > > *Gordon* > > __________________________________________________________ > *Gordon Tomlinson* > > *Product Manager 3D > **Email * : gtomlinson @ overwatch.textron.com > __________________________________________________________ > *(C): (+1) 571-265-2612 > (W)**: (+1) 703-437-7651* > > "Self defence is not a function of learning tricks > but is a function of how quickly and intensely one > can arouse one's instinct for survival" > - *Master Tambo Tetsura* > > > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Vincent > Bourdier > *Sent:* Thursday, October 30, 2008 5:21 AM > *To:* osg > *Subject:* [osg-users] BS radius : world coordinate or local coordinate ? > > Hi, > > Just a simple question for you : > > When I get the Radius of a BS of a node, do I get the radius in World scale > unit ? or is the raduis depending on the scale of the node ? > > for the moment I use : *node->getBound().radius() * > node->getWorldMatrices()[0].getScale()[0] > *But I am not sure of the result.* > * > > Thanks a lot. > > Regards, > > Vincent. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org