3ds model version support and animation?

What version of 3ds Max does the MaxtoJme support?

I’m trying to load a model made from version 7. The call to convert never returns. I’m using the follwing code basically straight from the HelloModelLoading example.

This model has keyframe animation in it. Has anyone worked with a 3ds model with animation and are there example I can follow?

public static void main(String[] args) {

MaxModelLoading app = new MaxModelLoading(); app.setDialogBehaviour(SimpleGame.ALWAYS_SHOW_PROPS_DIALOG);

// Turn the logger off so we can see the XML later on




protected void simpleInitGame() {

// Point to a URL of my model

try {

URL model = new File(“C:\projects\games\dw\models\walker.3ds”).toURL();

// Create something to convert .obj format to .jme

FormatConverter converter=new MaxToJme();

// Point the converter to where it will find the .mtl file from


// This byte array will hold my .jme file

ByteArrayOutputStream BO=new ByteArrayOutputStream();

// This will read the .jme format and convert it into a scene graph

JmeBinaryReader jbr=new JmeBinaryReader();

// Use this to visualize the .obj file in XML

BinaryToXML btx=new BinaryToXML();

// Use the format converter to convert .3ds to .jme

// never returns from this call

converter.convert(model.openStream(), BO);

// Send the .jme binary to System.out as XML


new ByteArrayInputStream(BO.toByteArray()),

new OutputStreamWriter(System.out));



Any version should work, but it will only support somewhat basic animation. There are really complex things 3ds can do that the format won’t. If you can, email me the 3ds file that’s messing up and I’ll take a look.