Sphere mesh = new Sphere(32, 32, 10, false, true);
Dome mesh = new Dome(Vector3f.ZERO, 2, 4, 1f,false); // Pyramid
Dome mesh = new Dome(Vector3f.ZERO, 2, 32, 1f,false); // Cone
Dome mesh = new Dome(Vector3f.ZERO, 32, 32, 1f,false); // Small hemisphere
Dome mesh = new Dome(Vector3f.ZERO, 32, 32, 1000f,true); // SkyDome
PQTorus mesh = new PQTorus(3,8, 2f, 1f, 32, 32); // Flower torus
Geometry geom = new Geometry("A shape", mesh); // wrap shape into geometry
Material mat = new Material(assetManager,
"Common/MatDefs/Misc/ShowNormals.j3md"); // create material
geom.setMaterial(mat); // assign material to geometry
// if you want, transform (move, rotate, scale) the geometry.
rootNode.attachChild(geom); // attach geometry to a node