The package is divided into four parts:
The license the locally developed code is released under can be found here.
The example files serve to demonstrate various aspects of the tool kit.
In these cases all the renderings are driven by the RML parser which identifies class names from the begin tags where required and uses Java's reflection API to construct the objects.
Note: the following is assuming you have the classes directory (../classes) in your class path.
The parser can be run by the command:
java org.bouncycastle.graphics.rt.tools.Parser file
The images generated can be displayed by the Disp program, the command for this is:
java org.bouncycastle.graphics.rt.tools.Disp file
There is also a application for converting ".pix" files into ".ppm" files. The command to run to do a conversion is:
java org.bouncycastle.graphics.rt.tools.PixToPPM file
Lastly, as 3ds files are binary there is a tool for dumping out the material names and bounding box for objects defined in a 3ds file. The command to print out the properties is:
java org.bouncycastle.graphics.tools.ThreeDStudioDump file
When the parser is looking for a class file it searches the following packages in order, to find the class it wants:
"", "org.bouncycastle.graphics.rt.objects", "org.bouncycastle.graphics.rt.models", "org.bouncycastle.graphics.rt.shaders.ct", "org.bouncycastle.graphics.rt.util", "org.bouncycastle.graphics.rt", "org.bouncycastle.graphics.rt.renderers"The upshot of this is if you want to introduce your own objects and shaders, further extending the RML parser's capabilities, it is just a matter of having your class files appear somewhere in the above path, most appropriately in the "" or root package.
Please send feed back to dgh@autochthonous.org.
Enjoy!
PS. Note the homepage for this package is http://xjrt.sourceforge.net