Hey Yong, You can use "osgconv" to scale it down and resave it for future use. Simply specify "-s SX SY SZ" on the command line. Run "osgconv --help" to see all the arguments.
Hope this helps, -- Dan > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Yong Wang > Sent: Wednesday, February 07, 2007 3:14 PM > To: osg users > Subject: RE: [osg-users] scale down the model > > One of the models in the scene is too big compared with > others, so I need to scale it down. I tried to do it with > osgviewer, since I'm not sure about the syntax. > > Thanks. > Yong > > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Robert Osfield > Sent: Wed 2/7/2007 4:04 PM > To: osg users > Subject: Re: [osg-users] scale down the model > > Hi Yong, > > The osgviewer automatically positions the eye point so that model > takes up the same amount of screen space, so if you scale the model > down then the eye point will simply mover nearer so it'll look the > same size. > > For what reason do you want to scale the model down? To insert it > into another model at an approrpriate size, or is it that you want to > just have the eye point start further back, or widen the field of view > so it appears smaller? > > Robert. > > On 2/7/07, Yong Wang <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to scale down the model by half, I tried > > > > Osgviewer cow.osg.[0.5,0.5,0.5].scale > > > > And > > > > Osgviewer cow.osg.(0.5,0.5,0.5).scale > > > > but didn't work. Could someone give me a hint? > > > > Thanks a lot. > > Yong > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
