Hello folks! It's Friday, so here's a cool video.
http://the-bob.org/~jlmoles/osgWidget-3d.wmv
This demonstrates a new ViewerEventHandler object in osgWidget that lets
you switch between a 2D ortho view and 3D perspective view of your
scene. You'll notice when I switch the WindowManager isn't positioned
properly, so if anyone has any advice on how to best position the camera
(I'm using osgGA::MatrixManipulator::setHomePosition()), let me know.
Otherwise, I'll keep poking at it for a bit...
------------------
Post generated by Mail2Forum