Hello,
i have an issue with a model : it appears totally black on android device but with correct texture on JmonkeyEngine SDK 3.0 and when i launch it on my laptop
Here is the code fragment i use:
public void simpleInitApp()
{
viewPort.setBackgroundColor(ColorRGBA.Green);
DirectionalLight dl = new DirectionalLight();
dl.setDirection(new Vector3f(-0.1f, -1f, -1).normalizeLocal());
rootNode.addLight(dl);
dice = (Node) assetManager.loadModel("models/dice.mesh.xml");
rootNode.attachChild(dice);
}
here is what i see on android :http://hpics.li/11db428
here is what i see on desktop: http://hpics.li/86474b3
and here is the model files: http://www.filehosting.org/file/details/463933/models.zip
Do you have an idea on what coudl be wrong ?