Obj and mtl problems

first… jme is great and easy and i love it… community as well… XD



but now i got a little prob… i did some model in blender, exported them to obj with mtl files…

i got 4 models… and 3 are loading perfect but the 4 one take material of others ones…



for the code i got the loading code of hellomodelloading…

and that its… but instead of one model i got 4…



maybe i can zip everything and post it if you need…



ty in advance…

here the loading code of one of my object… all the others ones are the same except for the model url "fleche.obj" (model name file…)





Grelot said:

i got 4 models... and 3 are loading perfect but the 4 one take material of others ones...

That sounds like you don't call updateRenderState() on the root node, after loading your models after attaching the model to the root node.

If updateRenderState() dosen't help, post your model loading code.