I have just been experimenting with removing non-essential packages from Xith3D. I was able to remove the following packages without causing the Xith3D compile to break. Note: with a few alterations of the code (for example scrapping logging etc…) I am sure you could remove many more, but these are the easy ones.
[] com/xith3d/collider
[] com/xith3d/loaders/ase
[] com/xith3d/terrain
[] com/xith3d/test
[] com/xith3d/utility/cmdline
[] com/xith3d/utility/events
[] com/xith3d/utility/exception
[] com/xith3d/utility/general
[] com/xith3d/utility/interpolate
[] com/xith3d/utility/noise
[*] com/xith3d/utility/properties
Here are the file sizes using the 1.4.2_03 Linux Javac tool with no debugging (size with full debugging info in brackets).
No optional packages - 340K (457K)
All packages - 626K (837K)
All packages bar test - 487K (657K)
Quite impressive, and as I said, I’m sure there’s more you can drop if you were happy to hack bits off the code.
The compulsary third-party libraries are JOGL and vecmath which do add a bit to the size. However, if you were using LWJGL with Xith3D and compiling with Jet - you are only looking at approximately half a meg extra for the privilege of using Xith3D.
Will.


