Very long time to load models

Loading models from milkshape or 3dmax takes a very long time.

Converting the models in xml jme format could fix ?

When you've loaded them, save them in the new binary format (BinaryImporter)

it's fast.

llama said:

When you've loaded them, save them in the new binary format (BinaryImporter)
it's fast.


Great! works fine, I've made an external method to load files :
passing the name of mode, if there's already a binary format then load, otherways load the 3ds or md2, ecc... and then save the bin.
Is it importable directly in jme ?

You mean you'd like to contribute the code?



In any case, it sounds like something that could be very useful on the wiki:

http://www.jmonkeyengine.com/wiki/doku.php?id=code_snippets

llama said:

You mean you'd like to contribute the code?

In any case, it sounds like something that could be very useful on the wiki:
http://www.jmonkeyengine.com/wiki/doku.php?id=code_snippets


How dows the wiki works ?
I can edit the page, but where do I post the code ?

You can make a new page, then add a link to that in the page I linked to. There should be a page in the wiki about how to use the wiki.



If that's too much trouble, you can also post your code in the User Code forum :slight_smile:

I've done, I think it should be ok.

My personal english consultant is checking the correct english :slight_smile:

For those following the thread the code is here:

http://www.jmonkeyengine.com/wiki/doku.php?id=unified_model_loading



Looks pretty useful to me. Maybe someone will add COLLADA and xml (for hevee's blender exporter) one day.

And maybe some DEBUG case for automatic conversion of changed models. Should help smaller projects when they don't have any real art pipeline and build process with revision management for binary data.