Home | History | Annotate | Download | only in bullet

Lines Matching refs:terrain

70 import com.jme3.terrain.geomipmap.TerrainLodControl;
71 import com.jme3.terrain.geomipmap.TerrainQuad;
72 import com.jme3.terrain.heightmap.AbstractHeightMap;
73 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
81 * A walking animated character followed by a 3rd person camera on a terrain with LOD.
92 //terrain
93 TerrainQuad terrain;
244 matRock = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
247 matRock.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png"));
248 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
249 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
253 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
257 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg");
261 Texture normalMap0 = assetManager.loadTexture("Textures/Terrain/splat/grass_normal.jpg");
263 Texture normalMap1 = assetManager.loadTexture("Textures/Terrain/splat/dirt_normal.png");
265 Texture normalMap2 = assetManager.loadTexture("Textures/Terrain/splat/road_normal.png");
280 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
283 TerrainLodControl control = new TerrainLodControl(terrain, cameras);
284 terrain.addControl(control);
285 terrain.setMaterial(matRock);
286 terrain.setLocalScale(new Vector3f(2, 2, 2));
288 terrainPhysicsNode = new RigidBodyControl(CollisionShapeFactory.createMeshShape(terrain), 0);
289 terrain.addControl(terrainPhysicsNode);
290 rootNode.attachChild(terrain);