HomeSort by relevance Sort by last modified time
    Searched full:terrainquad (Results 1 - 25 of 30) sorted by null

1 2

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
TerrainGridTileLoader.java 16 public TerrainQuad getTerrainQuadAt(Vector3f location);
NormalRecalcControl.java 52 private TerrainQuad terrain;
56 public NormalRecalcControl(TerrainQuad terrain) {
80 if (spatial instanceof TerrainQuad)
81 this.terrain = (TerrainQuad)spatial;
84 public TerrainQuad getTerrain() {
88 public void setTerrain(TerrainQuad terrain) {
103 terrain = (TerrainQuad) ic.readSavable("terrain", null);
TerrainQuad.java 92 public class TerrainQuad extends Node implements Terrain {
135 public TerrainQuad() {
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) {
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) {
176 public TerrainQuad(String name, int patchSize, int size, Vector3f scale, float[] heightMap) {
194 public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) {
201 protected TerrainQuad(String name, int patchSize, int quadSize,
232 if (child instanceof TerrainQuad) {
233 ((TerrainQuad) child).setLodCalculatorFactory(lodCalculatorFactory);
304 if (getParent() instanceof TerrainQuad) {
    [all...]
TerrainGridListener.java 44 public void tileAttached( Vector3f cell, TerrainQuad quad );
46 public void tileDetached( Vector3f cell, TerrainQuad quad );
TerrainGrid.java 58 * TerrainGrid itself is an actual TerrainQuad. Its four children are the visible four tiles.
90 * the LRU cache if it exists. If it does not exist, it will load in the new TerrainQuad tile.
102 public class TerrainGrid extends TerrainQuad {
113 protected LRUCache<Vector3f, TerrainQuad> cache = new LRUCache<Vector3f, TerrainQuad>(16);
128 * the new TerrainQuad tiles to be children of this TerrainGrid parent.
132 * attachQuadAt() method. It also resets any cached values in TerrainQuad (such as
140 TerrainQuad q = cache.get(quadCell);
145 q = new TerrainQuad(getName() + "Quad" + quadCell, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap());
147 log.log(Level.FINE, "Loaded TerrainQuad {0} from HeightMapGrid", q.getName())
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
AssetTileLoader.java 14 import com.jme3.terrain.geomipmap.TerrainQuad;
41 public TerrainQuad getTerrainQuadAt(Vector3f location) {
44 TerrainQuad quad = null;
46 quad = (TerrainQuad) manager.loadModel(modelName);
75 private TerrainQuad createNewQuad(Vector3f location) {
76 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, null);
FractalTileLoader.java 13 import com.jme3.terrain.geomipmap.TerrainQuad;
66 public TerrainQuad getTerrainQuadAt(Vector3f location) {
68 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap());
ImageTileLoader.java 14 import com.jme3.terrain.geomipmap.TerrainQuad;
132 public TerrainQuad getTerrainQuadAt(Vector3f location) {
134 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap());
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestReadWrite.java 49 import com.jme3.terrain.geomipmap.TerrainQuad;
155 TerrainQuad terrainQuad = new TerrainQuad("terrain", 65, 129, heightmap.getHeightMap());//, new LodPerspectiveCalculatorFactory(getCamera(), 4)); // add this in to see it use entropy for LOD calculations
156 TerrainLodControl control = new TerrainLodControl(terrainQuad, getCamera());
158 terrainQuad.addControl(control);
159 terrainQuad.setMaterial(matTerrain);
160 terrainQuad.setLocalTranslation(0, -100, 0);
161 terrainQuad.setLocalScale(4f, 0.25f, 4f);
162 rootNode.attachChild(terrainQuad);
    [all...]
TerrainTest.java 46 import com.jme3.terrain.geomipmap.TerrainQuad;
56 * The base terrain class it uses is TerrainQuad, which is a quad tree of actual
65 * In the constructor for the TerrainQuad, un-comment the final parameter that is
75 private TerrainQuad terrain;
159 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
TerrainGridSerializationTest.java 21 import com.jme3.terrain.geomipmap.TerrainQuad;
84 public void tileAttached(Vector3f cell, TerrainQuad quad) {
93 public void tileDetached(Vector3f cell, TerrainQuad quad) {
TerrainGridTest.java 22 import com.jme3.terrain.geomipmap.TerrainQuad;
145 public void tileAttached(Vector3f cell, TerrainQuad quad) {
153 public void tileDetached(Vector3f cell, TerrainQuad quad) {
TerrainGridTileLoaderTest.java 21 import com.jme3.terrain.geomipmap.TerrainQuad;
142 public void tileAttached(Vector3f cell, TerrainQuad quad) {
150 public void tileDetached(Vector3f cell, TerrainQuad quad) {
TerrainTestAdvanced.java 48 import com.jme3.terrain.geomipmap.TerrainQuad;
65 private TerrainQuad terrain;
178 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());//, new LodPerspectiveCalculatorFactory(getCamera(), 4)); // add this in to see it use entropy for LOD calculations
TerrainTestCollision.java 60 import com.jme3.terrain.geomipmap.TerrainQuad;
79 TerrainQuad terrain;
137 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
CollisionShapeFactory.java 42 import com.jme3.terrain.geomipmap.TerrainQuad;
83 if (spatial instanceof TerrainQuad) {
88 TerrainQuad terrain = (TerrainQuad) spatial;
160 * Creates a HeightfieldCollisionShape if the supplied spatial is a TerrainQuad.
161 * @return A MeshCollisionShape or a CompoundCollisionShape with MeshCollisionShapes as children if the supplied spatial is a Node. A HeightieldCollisionShape if a TerrainQuad was supplied.
164 if (spatial instanceof TerrainQuad) {
165 TerrainQuad terrain = (TerrainQuad) spatial;
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
SimpleLodThreshold.java 40 import com.jme3.terrain.geomipmap.TerrainQuad;
62 if (terrain instanceof TerrainQuad)
63 this.size = ((TerrainQuad)terrain).getPatchSize();
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloTerrain.java 38 import com.jme3.terrain.geomipmap.TerrainQuad;
47 private TerrainQuad terrain;
97 * 3.1) Create a TerrainQuad and name it "my terrain".
104 terrain = new TerrainQuad("my terrain", patchSize, 513, heightmap.getHeightMap());
HelloTerrainCollision.java 50 import com.jme3.terrain.geomipmap.TerrainQuad;
71 private TerrainQuad terrain;
127 * 3.1) Create a TerrainQuad and name it "my terrain".
133 terrain = new TerrainQuad("my terrain", 65, 513, heightmap.getHeightMap());
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
BresenhamTerrainPicker.java 42 import com.jme3.terrain.geomipmap.TerrainQuad;
50 * against the bounding volumes of the TerrainQuad and its children, gathering
68 private final TerrainQuad root;
72 public BresenhamTerrainPicker(TerrainQuad root) {
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestSpotLightTerrain.java 48 import com.jme3.terrain.geomipmap.TerrainQuad;
64 private TerrainQuad terrain;
192 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());//, new LodPerspectiveCalculatorFactory(getCamera(), 4)); // add this in to see it use entropy for LOD calculations
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestDepthOfField.java 18 import com.jme3.terrain.geomipmap.TerrainQuad;
35 TerrainQuad terrain;
173 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestHoveringTank.java 61 import com.jme3.terrain.geomipmap.TerrainQuad;
76 TerrainQuad terrain;
284 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
TestWalkingChar.java 71 import com.jme3.terrain.geomipmap.TerrainQuad;
93 TerrainQuad terrain;
280 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());
  /external/jmonkeyengine/engine/src/test/jme3test/water/
TestPostWater.java 28 import com.jme3.terrain.geomipmap.TerrainQuad;
47 TerrainQuad terrain;
261 terrain = new TerrainQuad("terrain", 65, 513, heightmap.getHeightMap());

Completed in 1188 milliseconds

1 2