On Wed, 2006-11-15 at 20:08 +0000, Robert Osfield wrote:
> On 11/15/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED] > wrote:
>         I'll chime in and 3rd this assertion. OSG should not depend on
>         Producer 
>         since OSG is the lower level foundation. osgProducer has
>         always been a
>         dependency inversion that is now becoming painfully apparent
>         to some.
> 
> OSG needs examples to test the OSG, and to illustate how to use it.
> You can't bring up a examples without window and events and viewer
> code, Q.E.D the OSG needs an internal viewer library.   This is the
> reason why osgProducer has existed in the OSG.

I'm not debating that need, only the build dependency between two
libraries.

> osgProducer is higher level than Producer - its add OSG specific
> facilities over and above Producer, osgProducer is also naturally
> higher level than the core OSG. 

This is a vertical addition to core OSG then. In order to create the
proper build dependencies it should be separate and vertically layered,
e.g..

osgProducer
^
Producer
^
OSG

> osgViewer is the conceptually at the same level as
> osgProducer/Producer.  Yet would you contend that its in the wrong
> place?

Do they have the same actual build dependencies? I'm guessing not.
Probably it's like this...

osgProducer    osgViewer
^              ^
Producer       |
^--------------|
OSG

> The main reason why Producer being separate from the core OSG is Don's
> wish to have sole authority over the Producer.  There is no real
> conceptual and design reason to that cameras or viewer code being
> outside of a scene graph project distribution. 

I think that Don's wish is orthogonal to the engineering issue. Simply
from a build dependency viewpoint consider, by example...

OSG is a rendering system. It has vertical applications and modules.
Windows XP is an operating system. It has vertical applications and
modules.

Microsoft packages Office separately from Windows XP as a vertical
application.
OpenSceneGraph Professional Services packages osgProducer with OSG as a
vertical module.


Regards,
Marcus


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

Reply via email to