Problem in lod jme3

I’m using JMonkeyPlatform and created a model and set LOD using “advanced JME convert binary …”, but when I run the game, the following error appears:

[java] Node sofa = (Node) assetManager.loadModel(“Models/sala/sofá/sofaTeste/Sofaa.mesh.jmo”);

Geometry geoSofa = (Geometry) sofa.getChild(0);

LodControl control = new LodControl(geoSofa);




Exception in thread “LWJGL Renderer Thread” java.lang.IllegalStateException: LOD levels are not set on this mesh

at com.jme3.scene.Geometry.setLodLevel(

at com.jme3.scene.control.LodControl.controlRender(

at com.jme3.scene.control.AbstractControl.render(

at com.jme3.scene.Spatial.runControlRender(

at com.jme3.renderer.RenderManager.renderScene(

at com.jme3.renderer.RenderManager.renderScene(

at com.jme3.renderer.RenderManager.renderViewPort(

at com.jme3.renderer.RenderManager.render(


at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(

at com.jme3.system.lwjgl.LwjglCanvas.runLoop(



waths the problem?

could you upload the model.xml so I can test please?

You have to set the # of LOD levels, it is set to 0 by default which means no LOD

how can i set the # of LOD levels?

I still do not understand how to make the LOD, and I really need to do this …

Can someone help me?

In JMP when using “advanced JME convert binary”, you are prompted to choose your lod level. Default is 0, so keeping the 0 value does not generate any lod level.

What you need to do is to set the lod level to at least 1 so it will be generated