Hi Luigi, I am not an expert on the wrapper side so can't answer specifics. My hope was that the osgLua and osgPython projects would take off and become fully featured and tested and then when ready migrate into the core OSG. Alas so far this hasn't happened. osgLua and osgPython are based on osgIntrospection and do wrapping dynamically - there are pros and cons in doing this.
The other approach is to use swig and have swig interface files for the OSG, this approach has also has pros and cons. One of the big weakness for me is high maintenance associated with interface files as each time the core OSG changes the interfaces need to play catch up. It might be possible to mix and match a solution, but being pretty overstretched myself I can't really drive things along, once the community coalesces around a workable system then I'd be happy to see it integrated into the core OSG. Robert. On Thu, Apr 3, 2008 at 1:09 PM, Luigi Calori <[EMAIL PROTECTED]> wrote: > Sorry, got no answer, so try to repost > > > I' m interested in using OSG from Python or other scripted languages. > After some searching and testing I found osgswig and tried that path > (still unsure which is the best script wrapper for OSG to use) > > Using osgswig I found some bugs and added some nodes that were missing. > (posted to tehe main site at > http://code.google.com/p/osgswig/issues/detail?id=5 ) > > My questions: > > 1) opinions on which route to go for wrapping, (know there are wrappers > based on introspection, I' ve tried to use them but found few examples) > 2) In osgswig there is a working example of a python pick handler that > subclass from osgGA.GUIEventHandler. > I would like to subclass from osg.NodeVisitor without success. > Is this something doable in osgswig or in other wrappers? > 3) are there plans for supporting wrappers into core osg? > 4) is osg-users the right place to write for issues regarding script > language wrappers? > > > Thanks in advance > > Luigi Calori > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org