Re: [osg-users] OSG + QT + Mac focus issue

2012-12-23 Thread Kristofer Tingdahl
Hi Mike,


Good to hear from you! I'm under the same configuration as you (Mike), so
I'd be interested if you come up with something. We are planning on
switching for Qt5 for our next major release, so our focus is on that and
fixing what comes up there. I submitted a bunch of CMake - file changes to
make OSG build with qt5 nicely, but I don't know if they are integrated
yet. If need be, I can send you the diffs.


- Kristofer Tingdahl

-- 
Kristofer Tingdahl, Ph. D.
CEO
dGB Earth Sciences
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Fitting my world into the viewport

2012-12-23 Thread Daniel Peraza
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.org