With all due respect to both of you guys, wouldn't it be simpler to
split the offending code from Producer into a separate library dependent
on both Producer and OSG? I think that would be the simplest and least
headache-prone solution (i.e. option 3 from Robert's list).
What Don wants to do with Producer is down to him.
As a lead of project that depends upon Producer all I I can do is point on the potential problem and ask for some form of resolution, or refactor things at the OpenSceneGraph end to cope.
The other
options are kludges, to be honest, and may complicate things to the
point that people will turn away from using OSG with Producer due to
such hassle.
I wouldn't say moving ProducerOSG or osgProducer out of the respectively library is any more of a technical cludge. Moving osgProducer out in the very short term will be more of hassle for people though. Longer term I'd expect osgProducer to move out of the core OpenSceneGraph, the presence of ProducerOSG as part of Producer is forcing this issue though.
In terms of simplicity of build of the core OSG, moving osgProducer out wouldn't be necessarily be a bad thing, for those who don't use Producer the OSG would then only have OpenThreads as an essential external dependency. For osgProducer users its means that there is four packages to deal with. This might not be such a big problem if the binaries package makers bundle everything together as a single package though. For instance Mike's packages already bundle a number of packages together.
A quick grep through the source of Producer shows that nothing else is
using it, so it shouldn't be a big problem to split it off into a
separate lib.
Its ProducerOSG and associated Examples directories.
Forking of the libraries should be only the very last option and is
always detrimental to the projects involved - I certainly hope that you
two can get along well enough so that this wouldn't be required from
neither side.
I certainly don't have time for going forking code, so it'd be of the options its one of the lowest on my list.
Robert.
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/