The osgwbvv Application

osgwbvv visualizes OSG bounding volumes as a box, a sphere, or both, and displays the bounding extents on the console.

Simple Usage

Try running osgwbvv on teapot.osg, one of the osgWorks data files:

C:\Projects>osgwbvv teapot.osg
Sphere:
        Center  0.0542275 0 0.01875
        Radius  1.02558

In addition to displaying the bounding sphere extents on the console, osgwbvv visualizes the bounding sphere in an OSG window:

osgwbvv00.jpg

Command Line Parameters

--sphere Display the bounding sphere. This is the default.
--box Display the bounding box.
--both Display both the bounding sphere and bounding box.
--origin Render the model's origin with a circle and crosshair.
-v/--version Display the osgWorks version string.