Problem drawing spheres

Hi, im developing a game in jme3, but my problem is that i build a sphere and it doesn’t show up in the scene, but if I draw a box , it does show. Can anybody help me?

Can you post the code you’re using to create the sphere?

Wild guess would be for the sphere you use a lighting material and you dont have a light in your scene.

this is the code, i don’t use any lighting material:



Sphere diez = new Sphere(32,32,1,1);



Spatial diesSp = new Geometry(“diez”,diez);

diesSp.scale(2, 2, 0.1f);

Material mat = new Material(assetManager, “Common/MatDefs/Misc/SolidColor.j3md”);

mat.setColor(“m_Color”, ColorRGBA.Blue);

diesSp.setMaterial(mat);

Node diezNode = new Node();

diezNode.attachChild(diesSp);

rootNode.attachChild(diezNode);

Thats the box.