Hi John,

On 11/16/06, Whitfield, John M. (SED/TMI)
<[EMAIL PROTECTED]> wrote:
I am back to trying to get the qtosg widget to work, since my system seems
to be having problems with producer. I was looking at some example code that
allows for manual camera placement with producer viewer by using
setViewByMatix, is anyone aware of a way to do something similar without
producer, say by using cameranode.

In CVS, the osgsimple example provides an example that uses the new
osgViewer::SimpleViewer class (a higher level equivilant of
SceneView).  In this example it does:

  viewer.getCamera()->setViewMatrix(matrix);

The camera that the SimpleViewer passes back is no less than a
osg::CameraNode ;-)

There are also a osgsimpleviewerQT3 and QT4 examples, although these
use camera manipulators rather than setting the view matrix from the
main loop.

Robert.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to