This thread of discussion may help you... http://forum.openscenegraph.org/viewtopic.php?t=11461
Also, since you are new to the OSG, I would suggest that you look closely at the provided examples to obtain an understanding on how the OSG classes are used in the applications. Looking at the OSG source itself is also helpful in understanding how it works... -Shayne -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Daniel Peraza Sent: Sunday, December 23, 2012 2:14 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Fitting my world into the viewport Hi, I'm very new to OSG and OpenGL programming in general, but right now I'm working on my thesis and my application requires to load several models on the same scene. Once every model is done loading, I must adjust the viewer's settings so that an user is able to see the entire scene. I know this can be achieved by fitting the world's bounding sphere into the viewport, the problem is that I don't know OSG Classes well enough to do so. My application is Qt-based and uses a Track Ball Manipulator. I wonder if I must use the manipulator methods, or adjust the camera's projection directly. I'd appreciate if you can give me some examples of how should I work on this. Thank you! Cheers, Daniel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51686#51686 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org