How do you load / texture models of different formats?

I don’t understand your problem, the textures just work fine:



http://img184.imageshack.us/my.php?image=ninjatextas8.jpg



You know that you have to asign the textures manually ( in the most cases ) ?



 URL tex=PlayerModel.class.getClassLoader().getResource("models/nskinwh.jpg");
...
 TextureState ts=display.getRenderer().createTextureState();
 ts.setTexture(TextureManager.loadTexture(tex,Texture.MM_LINEAR,Texture.FM_LINEAR));
 ts.setEnabled(true);
yourmodel.setRenderState(ts);

I didn't know that =]] tyvm!

The Milkshape importer will load textures automatically, if you have added them in Milkshape and it can find them.

I often think it's better to load them manually as above though.

So the model I have in there is playing through all of it's animation cycles… how do I tell it to play something like frames 20-30, so it just walks?



      JointController controller = (JointController) model.getController(0);
      controller.setActive(true);
      controller.setTimes(startFrame, endFrame);
      controller.setRepeatType(Controller.RT_CLAMP);

Have my babies.