Hi Robert,

I've created an event handler that computes and displays bounds and normals.

It toggles between (geode) bounding sphere, geode bounding box, and drawable bounding boxes. Normals can be viewed as surface or vertex normals (re-using code from osgPlugins/normals that I've refactored and put in osgUtil).

The BoundsNormalsHandler is added to osgviewer, hotkeys are 'B' (bounds) and 
'N' (normals).

Also included is an additional, optional parameter to RecordCameraPathHandler to control the frame rate for record/playback. Default is 25.0, the environment variable takes preference if set.

I hope you'll find it useful.
Cheers,
/ulrich

Attachment: osg-bounds-normals.tar.gz
Description: GNU Zip compressed data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to