From: Jeff D. <ig...@po...> - 2000-12-04 18:37:59
|
This patch adds preliminary, yet functional support for Java Script nodes. Currently, it only plays nicely with JDK 1.1, although it shouldn't be too hard to make Kaffe work (I started out using Kaffe, but Sun's JDK turned out to be easier to debug). To use this, you *must* set LD_LIBRARY_PATH=/usr/lib/jdk1.1/libs/ia32/native_threads You must also set CLASSPATH=/the/libvrml97/source/libvrml97java/java-src This patch handles most, but not all, of the SFFoo (in Java) => SFFoo (in C++) conversions. It'll blow up in a fairly intelligent manner if gets confused, and finishing them off, while tedious, is not hard. The Browser node is totally unimplemented, as are a number of functions in the other mostly-implemented nodes. I seriously recommand putting this on a branch, not the main trunk (also, I wouldn't mind CVS write access so I can debug as I go) This is the product of 3 weeks of work, where my goal was to make GeoVRML (www.geovrml.org) fly. Thanks go out to SRI International, who paid me to write this, then let me give it back to you. Share and enjoy -jeff |