| Package | Description |
|---|---|
| com.jme3.terrain.geomipmap | |
| com.jme3.terrain.geomipmap.lodcalc | |
| com.jme3.terrain.geomipmap.picking |
| Modifier and Type | Field and Description |
|---|---|
protected TerrainPatch |
TerrainPatch.bottomNeighbour |
protected TerrainPatch |
TerrainPatch.leftNeighbour |
protected TerrainPatch |
TerrainPatch.rightNeighbour |
protected TerrainPatch |
TerrainPatch.topNeighbour |
| Modifier and Type | Method and Description |
|---|---|
TerrainPatch |
TerrainPatch.clone() |
protected TerrainPatch |
TerrainQuad.findDownPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findLeftPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findRightPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findTopPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.getPatch(int quad) |
protected TerrainPatch |
UpdatedTerrainPatch.getUpdatedPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected TerrainPatch |
TerrainQuad.findDownPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findLeftPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findRightPatch(TerrainPatch tp) |
protected TerrainPatch |
TerrainQuad.findTopPatch(TerrainPatch tp) |
protected void |
TerrainPatch.fixNormalEdges(TerrainPatch right,
TerrainPatch bottom,
TerrainPatch top,
TerrainPatch left,
TerrainPatch bottomRight,
TerrainPatch bottomLeft,
TerrainPatch topRight,
TerrainPatch topLeft)
Matches the normals along the edge of the patch with the neighbours.
|
protected void |
UpdatedTerrainPatch.setUpdatedPatch(TerrainPatch updatedPatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
TerrainQuad.getAllTerrainPatches(java.util.List<TerrainPatch> holder)
Retrieve all Terrain Patches from all children and store them
in the 'holder' list
|
void |
TerrainQuad.getAllTerrainPatchesWithTranslation(java.util.Map<TerrainPatch,com.jme3.math.Vector3f> holder,
com.jme3.math.Vector3f translation) |
| Constructor and Description |
|---|
UpdatedTerrainPatch(TerrainPatch updatedPatch) |
UpdatedTerrainPatch(TerrainPatch updatedPatch,
int newLod) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DistanceLodCalculator.calculateLod(TerrainPatch terrainPatch,
java.util.List<com.jme3.math.Vector3f> locations,
java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates) |
boolean |
PerspectiveLodCalculator.calculateLod(TerrainPatch patch,
java.util.List<com.jme3.math.Vector3f> locations,
java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates) |
boolean |
LodCalculator.calculateLod(TerrainPatch terrainPatch,
java.util.List<com.jme3.math.Vector3f> locations,
java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates) |
protected com.jme3.math.Vector3f |
DistanceLodCalculator.getCenterLocation(TerrainPatch terrainPatch) |
com.jme3.math.Vector3f |
PerspectiveLodCalculator.getCenterLocation(TerrainPatch patch) |
| Modifier and Type | Field and Description |
|---|---|
protected TerrainPatch |
TerrainPickData.targetPatch |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BresenhamTerrainPicker.checkTriangles(float gridX,
float gridY,
com.jme3.math.Ray pick,
com.jme3.math.Vector3f intersection,
TerrainPatch patch,
com.jme3.math.Triangle store) |
protected int |
BresenhamTerrainPicker.findClosestHeightIndex(com.jme3.math.Vector3f position,
TerrainPatch patch)
Finds the closest height point to a position.
|
protected boolean |
BresenhamTerrainPicker.getTriangles(float gridX,
float gridY,
TerrainPatch patch)
Request the triangles (in world coord space) of a TerrainBlock that
correspond to the given grid location.
|
| Constructor and Description |
|---|
TerrainPickData(TerrainPatch patch,
com.jme3.collision.CollisionResult cr) |