On 11/2/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Perhaps its time for me to refactor the classes, placing them in their
own osgViewer directory, rather than just hanging off the coat tails
of an old and tired osgGA library.  The upshot of this would be that
the Xcode projects will need a new project added, but no mods to
osgGA.

I'll do this refactor today.

It's done and now checked in.  Right osgViewer is very basic it just contains

  include/osgViewer/SimpleViewer
  include/osgViewer/GraphicsWindow

And the standard Export and Version files.

Eventually functionality that is currently in osgGA will be replicated
in osgViewer, some of the classes will map across easily, others will
need a major refactoring to make them properly extensible/reusable.
Candidates are classes like Event, EventHandler, EventQueue and
EventVisitor and the manipulators, once these classes are in place the
dependency on osgGA will disappear.

We have to take things one step at a time though, so if we can reuse
stuff from osgGA to get us up and running quicker then this is what
I'll do.  OpenSceneGraph-1.3 will have a basic osgViewer in place, but
will still rely upon osgGA.

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

Reply via email to