Hi, On Fri, 2008-06-06 at 10:20 -0500, Carsten Neumann wrote: > Hello Daniel, > > Daniel Mohr wrote: > > i want to modify an existing project which uses the simpleSceneManager. > > How can i change the projetion mode > > from perspective to an orthographic projection in the SSM? I found the > > MatrixCamera in the docu > > there is also a OrthographicCamera ;) > > > which possibly can do that job, but no way to change the camera from > > ProjectionCamera to MatrixCamera. > > How can i do this? > > hm, the SSM unfortunately stores a PerspectiveCameraPtr and makes use of > that fact (although I think mainly in showAll). In other words you > probably need to make a copy of the SSM and make some small changes to > it to make it work with an ortho camera, but they should be fairly simple.
you can use the 2.x SSM as a reference. This one was changed so it holds only a camera ptr and IIRC it can deal with Orthographic cameras. kind regards, gerrit ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
