I' m also interested in scripting: tried introspection based osgLua and osgPython with not much success. Also tried binary version of osgSwig (version 2.1.11 I presume), was able to run viewer.py but not much more. I did not found many python examples, neither in any of the project above, Is it because the wrapping is not yet stable or like "the example are left as an exercise to the reader" Any available example scripts would be really appreciated by a novice python user as I am. Iwould also be very intersted in CMake building, and willing to help expecially under Windows platform.
Thanks Luigi Hartmut Seichter wrote: >Hi Cedric, > >I am the developer of osgSWIG. You can find scripts in src/Languages/Python > >1) run wrap.sh >2) run compile.sh > >I know this is very much "suboptimal" and might not even work on your >distribution. I am working on a CMake based build system which probably >solves quite a lot of problems. There is also one big issue I am facing >with one of the headers in core OSG. You might stumble upon the same >thing, there are three const variables in osg::Vec3f which use the C++ >style of declaration and are not supported by SWIG > 1.3.30 > >/H > > >Cedric Pinson wrote: > > >>I have found http://code.google.com/p/osgswig/ to bind osg to python, i >>did not try yet. I would like to know if someone use it on linux. >>I would like feedback >> >>Cedric >> >> >> > >-- >Hartmut Seichter >PhD (HKU), Dipl.-Ing. (BUW) >www.technotecture.com > > >_______________________________________________ >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