OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TerrainPatch
(Results
1 - 12
of
12
) sorted by null
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
LodCalculatorFactory.java
36
import com.jme3.terrain.geomipmap.
TerrainPatch
;
47
public LodCalculator createCalculator(
TerrainPatch
terrainPatch
);
LodCalculator.java
37
import com.jme3.terrain.geomipmap.
TerrainPatch
;
50
public boolean calculateLod(
TerrainPatch
terrainPatch
, List<Vector3f> locations, HashMap<String,UpdatedTerrainPatch> updates);
LodPerspectiveCalculatorFactory.java
38
import com.jme3.terrain.geomipmap.
TerrainPatch
;
61
public LodCalculator createCalculator(
TerrainPatch
terrainPatch
) {
LodDistanceCalculatorFactory.java
39
import com.jme3.terrain.geomipmap.
TerrainPatch
;
64
public LodCalculator createCalculator(
TerrainPatch
terrainPatch
) {
PerspectiveLodCalculator.java
40
import com.jme3.terrain.geomipmap.
TerrainPatch
;
48
private
TerrainPatch
patch;
81
public boolean calculateLod(
TerrainPatch
terrainPatch
, List<Vector3f> locations, HashMap<String, UpdatedTerrainPatch> updates) {
125
public Vector3f getCenterLocation(
TerrainPatch
patch) {
DistanceLodCalculator.java
39
import com.jme3.terrain.geomipmap.
TerrainPatch
;
65
public boolean calculateLod(
TerrainPatch
terrainPatch
, List<Vector3f> locations, HashMap<String, UpdatedTerrainPatch> updates) {
66
float distance = getCenterLocation(
terrainPatch
).distance(locations.get(0));
71
int prevLOD =
terrainPatch
.getLod();
72
UpdatedTerrainPatch utp = updates.get(
terrainPatch
.getName());
74
utp = new UpdatedTerrainPatch(
terrainPatch
, 0);
84
for (int i = 0; i <=
terrainPatch
.getMaxLod(); i++) {
85
if (distance < getLodDistanceThreshold() * (i + 1)*
terrainPatch
.getWorldScale().x || i ==
terrainPatch
.getMaxLod())
[
all
...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
TerrainPickData.java
36
import com.jme3.terrain.geomipmap.
TerrainPatch
;
46
protected
TerrainPatch
targetPatch;
52
public TerrainPickData(
TerrainPatch
patch, CollisionResult cr) {
BresenhamTerrainPicker.java
41
import com.jme3.terrain.geomipmap.
TerrainPatch
;
89
TerrainPatch
patch = pd.targetPatch;
166
protected boolean checkTriangles(float gridX, float gridY, Ray pick, Vector3f intersection,
TerrainPatch
patch, Triangle store) {
197
protected boolean getTriangles(float gridX, float gridY,
TerrainPatch
patch) {
229
protected int findClosestHeightIndex(Vector3f position,
TerrainPatch
patch) {
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
UpdatedTerrainPatch.java
47
private
TerrainPatch
updatedPatch;
55
public UpdatedTerrainPatch(
TerrainPatch
updatedPatch, int newLod) {
60
public UpdatedTerrainPatch(
TerrainPatch
updatedPatch, int newLod, int prevLOD, boolean reIndexNeeded) {
80
protected
TerrainPatch
getUpdatedPatch() {
84
protected void setUpdatedPatch(
TerrainPatch
updatedPatch) {
TerrainQuad.java
234
} else if (child instanceof
TerrainPatch
) {
235
((
TerrainPatch
) child).setLodCalculator(lodCalculatorFactory.createCalculator((
TerrainPatch
) child));
372
} else if (child instanceof
TerrainPatch
) {
373
((
TerrainPatch
) child).generateLodEntropies();
401
} else if (child instanceof
TerrainPatch
) {
402
return ((
TerrainPatch
)child).getMaterial();
501
} else if (child instanceof
TerrainPatch
) {
502
boolean b = lodCalculator.calculateLod((
TerrainPatch
) child, location, updates);
518
} else if (child instanceof
TerrainPatch
) {
[
all
...]
TerrainPatch.java
80
public class
TerrainPatch
extends Geometry {
106
protected
TerrainPatch
leftNeighbour, topNeighbour, rightNeighbour, bottomNeighbour;
112
public
TerrainPatch
() {
113
super("
TerrainPatch
");
116
public
TerrainPatch
(String name) {
120
public
TerrainPatch
(String name, int size) {
125
* Constructor instantiates a new <code>
TerrainPatch
</code> object. The
140
public
TerrainPatch
(String name, int size, Vector3f stepScale,
146
* Constructor instantiates a new <code>
TerrainPatch
</code> object. The
168
public
TerrainPatch
(String name, int size, Vector3f stepScale,
[
all
...]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
CollisionShapeFactory.java
41
import com.jme3.terrain.geomipmap.
TerrainPatch
;
95
} else if (spatial instanceof
TerrainPatch
) {
100
TerrainPatch
terrain = (
TerrainPatch
) spatial;
167
} else if (spatial instanceof
TerrainPatch
) {
168
TerrainPatch
terrain = (
TerrainPatch
) spatial;
Completed in 124 milliseconds