Re: [osg-users] Shrink/Enlarge whole osg::Groups ?

2010-05-14 Thread Ku Krapox
That does the trick, thanks a lot! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27880#27880 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Shrink/Enlarge whole osg::Groups ?

2010-05-12 Thread Ku Krapox
Hi, Thanks for your response, and you're right, I'm not as clear as I thought... Let me explain what I want : I have a scene with an osg::Cylinder that represents a tray, and complex objects placed upon it (typically some Groups containing Text, Geometry and Shapes...). Everything is in a PAT

Re: [osg-users] Shrink/Enlarge whole osg::Groups ?

2010-05-12 Thread Jason Daly
Ku Krapox wrote: So from what you say, I understand I should use the setScale method? If so, how do I set the Vec3d parameter? The Vec3d parameter specifies the scale factor in each direction, so Vec3d(2.0, 2.0, 2.0) is twice as big, for example. --J

Re: [osg-users] Shrink/Enlarge whole osg::Groups ?

2010-05-11 Thread Tomlinson, Gordon
Maybe I missing something in what you're asking If you add and remove more data then you simply remove all the child of the group or PAT and then add the new nodes you want If you mean you want to actually scale everything under a PAT or group then you can set the scaling on a PAT, on a group