HI Brad, I too spotted references to better support for scripting in Java 6 announcements, and it may indeed help make our lives easier. All we need know is an implementation :-)
Robert. On 12/19/06, Christiansen, Brad <[EMAIL PROTECTED]> wrote:
Hi, Given the recent discussion of Java and OSG I thought I would mention the new scripting integration that has appeared in Java (I think this was mentioned in passing in the previous thread). As of Java 6 they have included a scripting integration API into the core Java language. I havent read much about it yet but it sounds like it might be the best bet for a simple intrgation of OSG. From my reading you could create a osgJavaScript (java comes with a JS engine) or simply use osgPython (or other scripting wrapper) directly from your Java code. There is a decent article outlining this here: http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/ There is already a Python engine implementatiom and many others here: https://scripting.dev.java.net/ If anyone has a play with this then do let me know. I would like to move away from our hand wrapped (using JNI) osg objects one day. Cheers, Brad DISCLAIMER:--------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -------------------------------------------------------------------------------------- _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
