Robert has added an osgsimpleviewerSDL example to the latest CVS, and as
someone with lots of SDL+OSG experience I would highly recommend using
this as a basis. The union of the two really couldn't be simpler, so a
whole nodekit is probably not necessary. :)
I'm not sure to what depths the example goes to support resizing and
SceneView orthographic stuff, but it's easy enough to do that if the
osgGA::SimpleViewer doesn't. Maybe someone else can comment on this
aspect.
osgGA::SimpleViewer does track changes in window sizes via window resize events that are fed in. The viewport and projection matrices are both updated to keep things in sync all just from passing in the window sizes.
Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
