Some basic questions about model handling

I am currently tring to port my actual game from pure C++/OPENGL/OpenAL (own engine) to jMonkeyEngine to see what is the performance hit but since I am new to this engine I want to know some basic stuff regarding models:


  1. I have models stored in .3ds, jMonkey is converting it but Can I save the converted model back to a file to make the model loadin faster?


  2. Do the engine provide a way to have a splash screen + a progress bar when I need to load all my models/textures?


  3. When I load a model, do the texture is loaded too? How it work ?





    Thank you


  1. sure, just store that resulting stream/bytearray from the conversion into a file
  2. yes, that’s possible, but you have to do it by hand. Darkfrog posted about it here
  3. yes, texture is loaded if you specify the correct folder for the textures (I can't call it from the top of my head, see model loading threads/tutorial)
irrisor said:

3) yes, texture is loaded if you specify the correct folder for the textures (I can't call it from the top of my head, see model loading threads/tutorial)


You can can tell the model loader to load the texture from a class path in addition to folders.

Basically you need to set the model loders property with setProperty.