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 )