Texture Model import

Hello !

I have a problem for import my model in JME3…
I use Blender to make this model. So I make a basic model ( Torus ).
I export this with Ogre3D, so I have four files : torus.mesh.xml , torus.scene , torus.material and texture.jpg

In JME3 SDK I can see that :

So texture don’t appear.

Same problem in game :

Can you have a solution to import texture ?

This is my code :
Spatial torus = assetManager.loadModel(“Models/torus.mesh.xml”);
rootNode.attachChild(torus);
DirectionalLight sun = new DirectionalLight();
sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f));
rootNode.addLight(sun);

Thanks

(Sorry for my english :confused: )

The model probably doesn’t have a UV map, you also just load the mesh and not the texture. Read the manual and check the tutorials, theres lots of information how materials, textures etc. work. @erlend_sh: we need the help links back

HELPFUL INFORMATION INSIDE! READ THIS, CLICK THE LINK! ----v
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_material

HELPFUL INFORMATION INSIDE! READ THIS, CLICK THE LINK! ----v
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:external:blender

After many test, I succeed :wink:
Thanks for your help :wink: