Hi All,
To test out osgViewer::Viewer I have started working my way through
the OSG examples converting them across to use from
osgProducer::Viewer to osgViewer::Viewer. Examples moved across to
far :
osganimate
osgautotransform
osgbillboard
osgblendequation
osgbluemarble
osgcallback
osgcamera
osgcatch
osgcegui
osgclip
osgcluster
osghangglide
These leaves only about another 70 to convert...
While doing this I am also taking the opportunity to simplify the
example main's so they have less argument parsing code, as well as
thinning down the viewer code where appropriate. Due to these changes
the examples are now more focused on the parts of the OSG they are
examples of rather than command line parsing & viewer examples.
Exceptions to the viewer set up simplification are the two examples
that I have been hammering the most over the last two weeks -
osgcamera and osghangglide. Both of these have paths for setting up
non standard configurations of windows and slave cameras. For
instance try:
osgcamera cow.osg - default open up view across all available screens.
osgcamera -1 cow.osg -creates a single window with two slave cameras at
corners of window
osgcamera -2 cow.osg - creates 2 seperate windows per screen, opening up
4 windows if you have two
screens like my current setup.
osghangglide - default open up view across all available screens.
osghangglide -2 - creates a signel window with two slave cameras at
corners of the window
These various configurations have been helping me test the
multi-threading as well as complex mouse coordinate situations. If
you plan on writing your own GraphicsWindow implementation then these
above configurations would be a good way of testing how well you are
progressing. If you have an X11 box available then use this as a
reference as how things should behave.
Cheers,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/