Hi Robert,

thanks for the information about OSG 2.0. I will wait for this release and 
check the new viewer features. Perhaps it will make my life easier as you 
described, if not, i will follow your introduction.
Thanks for help.

Best regards,
Christian

----- Original Message -----
From: [EMAIL PROTECTED] <Robert Osfield>
To: osg-users@openscenegraph.net
Date: 02.06.2007 14:00:03
Subject: Re: Re: [osg-users] Trouble with osgProducer::Camera setting camera 
position


> Hi Cristian,
> 
> On 6/2/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi Robert, Charles,
> >
> > thanks for the hints. OSG 1.9.x is not an option, because we want to use 
> > only a stable version in our project, so i can't follow Charles 
> > introduction.
> 
> Well 2.0 is coming out next week.  I presume you are able to at least
> trail the dev versions.  Refusing to consider testing out the dev
> versions is holding your back.  osgViewer exists to make *your* life
> easier.
> 
> > Robert, correct me if i am wrong. When i use 
> > osgProducer::Viewer::setViewByMatrix(..) i am forced to make this call 
> > between the update() and frame() call of the viewer to overwrite the 
> > Producer settings. This makes it impossible to use the Producer camera 
> > features because i set a static value. So i've to reimplement all 
> > Producer::Camera features like moving ect..
> >
> > Is there no other option to use the camera with all Producer features? It 
> > will me drives nuts, if i must reimplement all given features of an 
> > existing component...
> 
> If you wish you can swtich off the osgProducer::Viewer's camera
> manipulator and manage Producer's view matrix directly, when you call
> Viewer::setUpViewer(mask) pass in the appropriate mask.
> 
> You could also just reset the camera manipulator directly, something like
> 
>   viewer.getKeySwitchManipulator()->setHomePosition(...);
> 
> If things are driving you nuts then just go a use 1.9.x series.
> 
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> 



_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to