Model importers

Hi everyone,



for a long time i use code like in the converter example zu load my models:

load native -> convert to a scenegraph object -> write the scenegraph object to a stream (jme format) -> load the model again from this stream



so i asked myself: why not load the native format direct in scenegraph object ? i modified/adding some code lines and now my milkshapes files loads 2-3 times faster (and enviromentsphere's on my ufo's works (= )



is there a reason not to do so ? why the jme middleformat ?

hevee said:

.....
The "correct" way to use the model loading system is thus:
load native -> convert to a scenegraph object -> write the scenegraph object to a stream (jme format) -> write that stream to disk once -> load the model again from this stream/file ever after

you are right man.. forgive my n00b question

Actually, more people than you think seem to have problems seeing that, so I wouldn't rate this a n00b question. Hence my lengthy explanation, maybe someone drops by here eventually while seeking knowledge of how to reduce startup timeā€¦