[C++-sig] Boost.Python & OpenSceneGraph

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Thu Sep 10 02:03:44 CEST 2009


Hi Randolph,

> I wish you and your work well, but I don't see how I can do this.  
> NodeCallback and NodeVisitor are exactly where I ran into problems with 
> osgswig--they are important, and hard to get right.

Actually I don't know if you saw my messages from last night, but it 
works fine now. But:

> As with osgswig, 
> I'd be testing your bindings, rather than concentrating on my thesis 
> work.  I'm sorry, but no.

I totally understand your feelings on this.

Unfortunately, I think if you want a python binding to OSG, your choices 
are rather limited. Using another generator such as Py++ might work out, 
but you'd be doing much of the same work as osgSwig did, you'd need to 
do lots of prep work before being able to move on to your own work, with 
no guarantee of better results.

So as I see it, you'll either end up working in C++, or spending some 
amount of time getting wrappers working the way you want them. Whether 
that's with osgSwig (which seem to have hit some roadblocks lately), 
with Py++ or some other generator (where you'd be starting pretty much 
from scratch) or with osgBoostPython (where you may have to help wrap 
more classes but where progress is almost constant and doesn't seem to 
have hit any major snags up until now).

Of course I'm biased, what do you expect? :-)

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/


More information about the Cplusplus-sig mailing list