Lines Matching refs:terrain
1 package jme3test.terrain;
18 import com.jme3.terrain.geomipmap.TerrainGrid;
19 import com.jme3.terrain.geomipmap.TerrainGridListener;
20 import com.jme3.terrain.geomipmap.TerrainLodControl;
21 import com.jme3.terrain.geomipmap.TerrainQuad;
22 import com.jme3.terrain.geomipmap.grid.AssetTileLoader;
23 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
31 private TerrainGrid terrain; field in TerrainGridTileLoaderTest
97 this.terrain = new TerrainGrid("terrain", 65, 257, grid); in simpleInitApp()
99 this.terrain.setMaterial(this.mat_terrain); in simpleInitApp()
100 this.terrain.setLocalTranslation(0, 0, 0); in simpleInitApp()
101 this.terrain.setLocalScale(2f, 1f, 2f); in simpleInitApp()
109 this.rootNode.attachChild(this.terrain); in simpleInitApp()
111 TerrainLodControl control = new TerrainLodControl(this.terrain, getCamera()); in simpleInitApp()
113 this.terrain.addControl(control); in simpleInitApp()
133 terrain.addListener(new TerrainGridListener() { in simpleInitApp()
146 …(new RigidBodyControl(new HeightfieldCollisionShape(quad.getHeightMap(), terrain.getLocalScale()),… in simpleInitApp()