HomeSort by relevance Sort by last modified time
    Searched defs:terrain (Results 51 - 75 of 82) sorted by null

1 23 4

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/fractal/
FractalSum.java 30 package com.jme3.terrain.noise.fractal;
32 import com.jme3.terrain.noise.Basis;
33 import com.jme3.terrain.noise.ShaderUtils;
34 import com.jme3.terrain.noise.basis.ImprovedNoise;
35 import com.jme3.terrain.noise.basis.Noise;
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloTerrain.java 37 import com.jme3.terrain.geomipmap.TerrainLodControl;
38 import com.jme3.terrain.geomipmap.TerrainQuad;
39 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
40 import com.jme3.terrain.heightmap.AbstractHeightMap;
41 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
47 private TerrainQuad terrain; field in class:HelloTerrain
59 /** 1. Create terrain material and load four textures into it. */
61 "Common/MatDefs/Terrain/Terrain.j3md");
65 "Textures/Terrain/splat/alphamap.png"))
    [all...]
HelloTerrainCollision.java 49 import com.jme3.terrain.geomipmap.TerrainLodControl;
50 import com.jme3.terrain.geomipmap.TerrainQuad;
51 import com.jme3.terrain.heightmap.AbstractHeightMap;
52 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
59 * This demo shows a terrain with collision detection,
71 private TerrainQuad terrain; field in class:HelloTerrainCollision
89 /** 1. Create terrain material and load four textures into it. */
91 "Common/MatDefs/Terrain/Terrain.j3md");
95 "Textures/Terrain/splat/alphamap.png"))
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestModifyHeight.java 32 package jme3test.terrain;
54 import com.jme3.terrain.geomipmap.TerrainGrid;
55 import com.jme3.terrain.geomipmap.TerrainLodControl;
56 import com.jme3.terrain.geomipmap.TerrainQuad;
57 import com.jme3.terrain.geomipmap.grid.FractalTileLoader;
58 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
59 import com.jme3.terrain.heightmap.AbstractHeightMap;
60 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
61 import com.jme3.terrain.noise.ShaderUtils;
62 import com.jme3.terrain.noise.basis.FilteredBasis
80 private TerrainQuad terrain; field in class:TerrainTestModifyHeight
    [all...]
TerrainTest.java 32 package jme3test.terrain;
45 import com.jme3.terrain.geomipmap.TerrainLodControl;
46 import com.jme3.terrain.geomipmap.TerrainQuad;
47 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
48 import com.jme3.terrain.heightmap.AbstractHeightMap;
49 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
55 * Demonstrates how to use terrain.
56 * The base terrain class it uses is TerrainQuad, which is a quad tree of actual
58 * There are a couple options for the terrain in this test:
66 * the LodPerspectiveCalculatorFactory. Then you will see the terrain flicker to star
75 private TerrainQuad terrain; field in class:TerrainTest
    [all...]
TerrainGridAlphaMapTest.java 1 package jme3test.terrain;
26 import com.jme3.terrain.geomipmap.TerrainGrid;
27 import com.jme3.terrain.geomipmap.TerrainGridListener;
28 import com.jme3.terrain.geomipmap.TerrainLodControl;
29 import com.jme3.terrain.geomipmap.TerrainQuad;
30 import com.jme3.terrain.geomipmap.grid.FractalTileLoader;
31 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
37 import com.jme3.terrain.noise.ShaderUtils;
38 import com.jme3.terrain.noise.basis.FilteredBasis;
39 import com.jme3.terrain.noise.filter.IterativeFilter
48 private TerrainGrid terrain; field in class:TerrainGridAlphaMapTest
    [all...]
TerrainTestReadWrite.java 32 package jme3test.terrain;
47 import com.jme3.terrain.Terrain;
48 import com.jme3.terrain.geomipmap.TerrainLodControl;
49 import com.jme3.terrain.geomipmap.TerrainQuad;
50 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
51 import com.jme3.terrain.heightmap.AbstractHeightMap;
52 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
60 * Saves and loads terrain.
66 private Terrain terrain field in class:TerrainTestReadWrite
307 TerrainQuad terrain = new TerrainQuad("terrain", b, s, hm); local
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNodeCluster.java 66 Node terrain; field in class:TestBatchNodeCluster
112 terrain = new Node("terrain");
113 terrain.setLocalTranslation(50, 0, 50);
114 terrain.attachChild(batchNode);
117 rootNode.attachChild(terrain);
124 g.setLocalTranslation(terrain.getLocalTranslation());
341 terrain.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Y));
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestHoveringTank.java 60 import com.jme3.terrain.geomipmap.TerrainLodControl;
61 import com.jme3.terrain.geomipmap.TerrainQuad;
62 import com.jme3.terrain.heightmap.AbstractHeightMap;
63 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
76 TerrainQuad terrain; field in class:TestHoveringTank
250 matRock = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
253 matRock.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png"));
254 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
255 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
259 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg")
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
UpdatedTerrainPatch.java 33 package com.jme3.terrain.geomipmap;
39 * Stores a terrain patch's details so the LOD background thread can update
40 * the actual terrain patch back on the ogl thread.
TerrainGrid.java 32 package com.jme3.terrain.geomipmap;
45 import com.jme3.terrain.Terrain;
46 import com.jme3.terrain.geomipmap.lodcalc.LodCalculator;
47 import com.jme3.terrain.heightmap.HeightMap;
48 import com.jme3.terrain.heightmap.HeightMapGrid;
64 * It uses an LRU (Least Recently Used) cache of 16 terrain tiles (full TerrainQuadTrees). The
89 * attached to the qrid quad tree, back on the OGL thread. It will grab the terrain quad from
97 * These allow physics to update, and other operation (often needed for loading the terrain) to occur
129 * It will first check the LRU cache to see if the terrain tile is already there
477 Terrain terrain = cache.get(tileCell); local
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
ImageTileLoader.java 5 package com.jme3.terrain.geomipmap.grid;
13 import com.jme3.terrain.geomipmap.TerrainGridTileLoader;
14 import com.jme3.terrain.geomipmap.TerrainQuad;
15 import com.jme3.terrain.heightmap.*;
50 * Effects vertical scale of the height of the terrain when loaded.
79 // HEIGHTMAP image (for the terrain heightmap)
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DistanceLodCalculator.java 32 package com.jme3.terrain.geomipmap.lodcalc;
39 import com.jme3.terrain.geomipmap.TerrainPatch;
40 import com.jme3.terrain.geomipmap.UpdatedTerrainPatch;
46 * Calculates the LOD of the terrain based on its distance from the
53 private int size; // size of a terrain patch
147 * Does this calculator require the terrain to have the difference of
PerspectiveLodCalculator.java 33 package com.jme3.terrain.geomipmap.lodcalc;
40 import com.jme3.terrain.geomipmap.TerrainPatch;
41 import com.jme3.terrain.geomipmap.UpdatedTerrainPatch;
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/
EntropyComputeUtil.java 1 package com.jme3.terrain.geomipmap.lodcalc.util;
16 * Computes the entropy value ? (delta) for a given terrain block and
26 // Bounding box for the terrain block
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
FluidSimHeightMap.java 32 package com.jme3.terrain.heightmap;
44 * @see <a href="http://www.gamedev.net/reference/articles/article2001.asp">Terrain Generation Using Fluid Simulation</a>
67 * size the size of the terrain to be generated
71 * the minimum initial height of a terrain value
73 * the maximum initial height of a terrain value
85 * if size of the terrain is not greater that zero, or number of
92 "Either size of the terrain is not greater that zero, "
116 * size the size of the terrain to be generated
120 * if size of the terrain is not greater that zero, or number of
126 "Either size of the terrain is not greater that zero, "
    [all...]
HillHeightMap.java 32 package com.jme3.terrain.heightmap;
39 * Algorithm. Terrain is generatd by growing hills of random size and height at
40 * random points in the heightmap. The terrain is then normalized and valleys
59 * size the size of the terrain to be generated
70 * if size of the terrain is not greater that zero, or number of
78 "Either size of the terrain is not greater that zero, "
99 * size the size of the terrain to be generated
108 * if size of the terrain is not greater that zero, or number of
MidpointDisplacementHeightMap.java 32 package com.jme3.terrain.heightmap;
ParticleDepositionHeightMap.java 32 package com.jme3.terrain.heightmap;
64 * @param size the size of the terrain where the area is size x size.
312 //transfer the new terrain into the height map.
AbstractHeightMap.java 32 package com.jme3.terrain.heightmap;
43 * data for terrain rendering. The loading of the data is dependent on the
63 /** The filter is used to erode the terrain. */
65 /** The range used to normalize terrain */
105 * <code>setSize</code> sets the size of the terrain where the area is
109 * the new size of the terrain.
275 logger.log(Level.INFO, "Saved terrain to {0}", filename);
280 * <code>normalizeTerrain</code> takes the current terrain data and
392 * what happens when values below one are squared. The terrain will be
428 * Smooth the terrain. For each node, its 8 neighbors heights
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
FilteredBasis.java 30 package com.jme3.terrain.noise.basis;
36 import com.jme3.terrain.noise.Basis;
37 import com.jme3.terrain.noise.filter.AbstractFilter;
38 import com.jme3.terrain.noise.modulator.Modulator;
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
HydraulicErodeFilter.java 30 package com.jme3.terrain.noise.filter;
34 import com.jme3.terrain.noise.Basis;
  /external/jmonkeyengine/engine/src/test/jme3test/water/
TestPostWater.java 28 import com.jme3.terrain.geomipmap.TerrainQuad;
29 import com.jme3.terrain.heightmap.AbstractHeightMap;
30 import com.jme3.terrain.heightmap.ImageBasedHeightMap;
47 TerrainQuad terrain; field in class:TestPostWater
227 matRock = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
230 matRock.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alphamap.png"));
231 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
232 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
236 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
240 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg")
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
CollisionShapeFactory.java 41 import com.jme3.terrain.geomipmap.TerrainPatch;
42 import com.jme3.terrain.geomipmap.TerrainQuad;
88 TerrainQuad terrain = (TerrainQuad) spatial; local
90 shape.addChildShape(new HeightfieldCollisionShape(terrain.getHeightMap(), trans.getScale()),
100 TerrainPatch terrain = (TerrainPatch) spatial; local
102 shape.addChildShape(new HeightfieldCollisionShape(terrain.getHeightMap(), terrain.getLocalScale()),
139 * Examples include terrain, houses or whole shooter levels.<br>
158 * Examples include terrain, houses or whole shooter levels.<br/>
165 TerrainQuad terrain = (TerrainQuad) spatial local
168 TerrainPatch terrain = (TerrainPatch) spatial; local
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
BresenhamYUpGridTracer.java 33 package com.jme3.terrain.geomipmap.picking;

Completed in 617 milliseconds

1 23 4