Hello Robert,

CVS contains two identical files osgViewer/Version.cpp and osgGA/Version.cpp. This causes "inconsistent DLL binding"-Warning under Win32 / .NET-Compiler. I think osgViewer/Version.cpp must contain something like the following:


#include <osgViewer/Version>

const char* osgViewerGetVersion()
{
   return "1.2";
}


const char* osgViewerGetLibraryName()
{
   return "OpenSceneGraph Viewer Library";
}


Best,
Oleg

Robert Osfield schrieb:
Those who've browsed through the current work in progress that is
osgViewer will have spotted three separate Viewer classes, each one
fulfills a different role, and can be sumerised as:

osgViewer::SimpleViewer:

 A simple viewer class that provides the developer with a single camera
 view onto a scene graph.  This viewer class manages no windowing
objects itself,
 and leaves windowing and event handling entirely up to the
application developer.
SimpleViewer's simplicity does make it convenient to add to existing graphics applications that have modest needs for multi-threading/multi-pipe usage.

osgViewer::Viewer:

 The closest of the three to the existing osgProducer::Viewer,
provides a single view
 on to a single scene graph, but allows that view to be rendered on a
single graphics
 window or on a series of slave cameras, each of which can share or
have its own
 graphics window.  osgViewer::Viewer fully supports multi-threading
of the slave
 cameras.

osgViewer::CompositeViewer

 The composite viewer class provides support for having multiple
views on to one or
more scene graphs at the same time, each of these views is like the single
 view that osgViewer::Viewer has, so each view can be rendered on a
single graphics
window, or on a series of slaves, each of which can share or have its own
 graphics window.  All the views may actually share a single graphics
window and
a single scene graph, or mix and match multiple views/cameras and windows any
 way the end user pleases.

Right now only SimpleViewer and Viewer have been fleshed out, and in
both cases not fully yet.  CompositeViewer will be the last on my list
to complete, and is also the most complex so I'll use what I learn
from getting SimpleViewer and Viewer done to inform how
CompositeViewer should be glued together.  I will do some preliminary
work on CompositeViewer over the week or so, much of the ground work
is in place as it'll use a lot of the existing work done for Viewer,
at least that's my hope ;-)

I'm heading off for a family trip till for rest of this week,
returning back next Monday (new years day) so I'll likely be off line
most of this time.  I'll be taking my laptop to tinker a bit more with
osgViewer so I should have a bit more to talk about on my return.

Cheers,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to