Ok. Without really reading all the 3DS loader code (it’s rather difficult to follow and uncommented), I tried to “brute force” the creation of a sharedCopy TDSModel. I’m using a slightly modified 3ds loader library, the changes being:
- When you use the loader to load a 3DS file, now you have to put the calling class (this) into the constructor, like this:
TDSLoader(this).load(file, true);
- Various changes such as the changing of private varibles to public, and the creation of a Point3f object inside the TimedTransforms to allow me to copy them into the new TDSModel.
- Creation of an Iterator in TDSModel.
The source is here.
The library is here. You can just drag the library into one of your universal library folders (the java.ext.dirs property will show you where this is).
The library source with my modifications is here.
And an example animated model you could use is here.
I didn’t sign the library, i hope that doesn’t cause any problems…
The TDSModel has two things that need to be copied I think. One is an ArrayList that contains all the transforms, and is used with the setTime() function, and the other are the actual children of the model. That is why traverseTree() is called twice, and that is the reason for the arraylist parameter. traverseTree() will go through either the ArrayList or the actual TDSModel, and add TransformGroups, Transform3D’s, frames, and finally the Shape3D objects at the end to the model variable (the model that I’m trying to make into a sharedcopy).
Currently, the Ship class will make an identical looking copy of the TDSModel, but it WILL NOT ANIMATE!! ARG!! 
My guess is that I’m forgetting to copy something else…
Somebody please help me out.