Home | History | Annotate | Download | only in post

Lines Matching defs:scene

46 import com.jme3.scene.Geometry;
47 import com.jme3.scene.Node;
48 import com.jme3.scene.Spatial;
71 Spatial scene = assetManager.loadModel("Models/Terrain/Terrain.mesh.xml");
72 TangentBinormalGenerator.generate(((Geometry)((Node)scene).getChild(0)).getMesh());
73 scene.setMaterial(mat);
74 scene.setShadowMode(ShadowMode.CastAndReceive);
75 scene.setLocalScale(400);
76 scene.setLocalTranslation(0, -10, -120);
78 rootNode.attachChild(scene);
87 scene.addLight(sun);