Interesting addition,
How would this be used?: for me I would prefer this addition to be an option that needs to be turned ON and be OFF by default, as none of my applications would ever want any type of model to define cameras or views or am missing what this is doing Gordon ________________________________________________________________________ cid:[email protected] Capture the magic of Christmas this year see <http://www.capturethemagic.com/> http://www.capturethemagic.com ____________________________________________________________________________ __ Gordon Tomlinson <mailto:[email protected]> [email protected] IM: <mailto:[email protected]> [email protected] <http://www.vis-sim.com/> www.vis-sim.com <http://www.gordontomlinson.com/> www.gordontomlinson.com ____________________________________________________________________________ __ From: [email protected] [mailto:[email protected]] On Behalf Of Smeenk, R.J.M. (Roland) Sent: Monday, December 22, 2008 8:33 AM To: OpenSceneGraph Submissions Subject: [osg-submissions] Collada camera support Attached you will find an improved Collada plugin to properly support camera's. A Collada camera will be added to the scenegraph as osg::CameraView. This allows the user to create a set of predefined camera viewpoints. I also added a new MatrixManipulator to osgGA called CameraViewSwitchManipulator and added usage of this to the osgviewer example. This manipulator allows switching between the predefined camera viewpoints. The current design limition I ran into is that a MatrixManipulator only manipulates the ViewMatrix, but for this particular manipulator I also want to update the projectionMatrix of the camera when switching to a new viewpoint. This is not implemented because I don't know what would be the best way to design it. Any ideas? Furthermore Collada also supports orthographic camera's, where an osg::CameraView only supports a perspective camera. Would it be useful to create a CameraView with customizable optics for this? BTW in order to test the attached collada test file with different camera's you need to disable the optimizer, because it will remove the CameraViews from the scenegraph with it's default settings. kind regards, Roland Smeenk This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
<<image001.gif>>
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
