Lines Matching refs:terrain
47 import com.jme3.terrain.geomipmap.TerrainLodControl;
48 import com.jme3.terrain.geomipmap.TerrainQuad;
49 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
50 import com.jme3.terrain.heightmap.AbstractHeightMap;
51 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
64 private TerrainQuad terrain; field in TestSpotLightTerrain
192 …terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());//, new LodPerspectiveCalc… in makeTerrain()
193 TerrainLodControl control = new TerrainLodControl(terrain, getCamera()); in makeTerrain()
195 terrain.addControl(control); in makeTerrain()
196 terrain.setMaterial(matTerrain); in makeTerrain()
197 terrain.setModelBound(new BoundingBox()); in makeTerrain()
198 terrain.updateModelBound(); in makeTerrain()
199 terrain.setLocalTranslation(0, -100, 0); in makeTerrain()
200 terrain.setLocalScale(1f, 1f, 1f); in makeTerrain()
201 rootNode.attachChild(terrain); in makeTerrain()