Hi John and Gerwin, I' m also using osgswig... and really would like it kept up with the osg development. Using good python IDE such as SPE, developing osg is much easier (for me) than in C++ ..... really thanks to all osgswig developers

Currently I' m stuck with an svn OSG version (2.9.5) that I' ve been able to wrap with minimal mods to osgswig (if someone is intrested, I could send the mods)
last time I tried (2.9.6) there were issues in osgManipulator wrapping

I'm unwilling to update as each time I update osg... there are some problems with swig wrapping. One of the worst issues has been the MixinVector that has broken all the vecArrays wrapping thus preventing python construction of geometry. I do not know weather Robert is aware of the hassle this mod has caused to osgswig users.

I understand that the wrapping code is not fully automated, but, as far as I know, this is the only python wrapper used.

I agree that the stability of osgswig is currently not high enough to be included in the standard build, but I do not think is so bad. It would be nice to have a fully automated wrapper generation process, but, as far as I know, there are no available good automated python wrapper for OSG, even other projects, such as OGRE, that use other technology for wrappers, need some manual twiddling. So I fear that the problem of getting good python (or other lang) wrappers could not be currently solved without the involvement of core C++ developers.

On osgswig side we could try to set up a dashboard WITH TESTING to help osg developers to be early aware of mods that hurt the wrapping process:

If we have a minimum of platform where osgswig get compiled nightly, each time doing an svn update of the OSG trunk, a rebuild and some test runs, osgswig developers could be early warned by osg new commits that breaks the wrapping. At this point, if there is a critical mass of osg python users, osgswig and osg developers could be more willing to devote some time to resolve the inconsistency.

I' m currently using osgswig mainly under windows, both VC8 and VC9, as VC7.... is not able to compile the HUGE osgPYTHON_wrap.cxx

This are my 2 cents.
Luigi Calori

Gerwin de Haan ha scritto:
Hoi John,

I appreciate your enthusiasm for osgswig, we hear you! Including osgswig in the main repo would certainly increase its exposure and use. However, I'm not really sure if the "Including them would ensure that they are kept up to date"-argument would hold just yet. There are also quite some issues that still need to be resolved (especially for alternative languages other than Python), and not too many developers helping out at this point. The bindings currently involve quite some manual work, and it is hard to keep up with all the changes.

I would instead encourage you and other developers/users to help out by posting issues,requests and questions here and on the osgswig issue tracker at http://code.google.com/p/osgswig/ . In due time, we may get in sync with the osg releases.

cheers,
Gerwin


On Sun, Aug 2, 2009 at 11:36 PM, john casu <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    the SWIG bindings are so useful, that it seems like a good idea to
    include them with the main release, predicated with
    -DBUILD_SWIG_BINDINGS & -DBUILD_PYTHON_SWIG_BINDINGS or
    -DBUILD_RUBY_SWIG_BINDINGS (etc..) flags.

    Including them would ensure that they are kept up to date, and
that any bindings are correct for the installed release of OSG. Moreover, it would encourage the building of those bindings for
    other languages, other than python or ruby.

    ...

    Thank you!

    Cheers,
    john

    ------------------
    Read this topic online here:
    http://forum.openscenegraph.org/viewtopic.php?p=15708#15708





    _______________________________________________
    osg-users mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to