-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Halliday wrote:
> I've been using osgswig ( http://code.google.com/p/osgswig/ ) for a > project on a cave-type system combining python, vrjuggler, and osg. > osgswig supports python, ruby, java and lua, although I've only played > with the python features. I had tried to use osgPython and pyosg before, > but they only work with older versions of osg. Interesting, I didn't know about this project! Thanks for the pointer! >> / 2) Application is written in a high level language and calls into C/C++/ >> / code to run the performance critical stuff. I think that this is what/ >> / you want ("... enable us to/ >> / develop applications purely from scripting languages, so developers in/ >> / this realm would just need the binaries to the OSG installed, and no/ >> / need for C++ dev environment"). > > /The osgswig project seems to be primarily designed for scenario 2, > although in my application I've been using osgswig as in scenario 1 by > getting out a void pointer to the opaque values from the python api. I'm > not sure how possible this approach is with other languages though. It usually works in the same way if you are using SWIG - you get a void pointer packaged into some opaque data structure (e.g. a SMOB for Guile) and you are passing that around. However, if the bindings are made using a different tool, this could be different. Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFHYFQOn11XseNj94gRAppsAJ9FKDi2zX4EGao8ftGEdfatY2pM7ACeIOzm rCZ1YXKvB0SzqoKqUM8LDL0= =2jic -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

