Greetings, I got a couple of (hopefully trivial) questions. I work with my own viewer class which is derived from osgViewer::Viewer. I use OSG 2.6.1.
1) When I start rendering, the camera is always initially placed at some default position and direction, which apparently displays at the center the largest visible object. Is there a way to set the camera as I wish? 2) I add lights to the scene and disable the default OSG light, but still get the default lighting and my lights don't have an effect. Is there something trivial that I miss? 3) How can I make some objects invisible entirely for some period of time? I use update callbacks. 4) Can I use update callback for Root node? 5) Can I determine which object is effectively clicked? Or in other words, which object is the nearest to the camera at mouse pointer's coordinates, if any? Thanks, Daniel _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

