Searched refs:heightData (Results 1 – 11 of 11) sorted by relevance
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | AbstractHeightMap.java | 58 protected float[] heightData = null; field in AbstractHeightMap 73 heightData = null; in unloadHeightMap() 101 heightData[x + (z * size)] = height; in setHeightAtPoint() 153 return heightData[x + (z * size)]; in getTrueHeightAtPoint() 167 return ((heightData[x + (z * size)]) * heightScale); in getScaledHeightAtPoint() 214 return heightData; in getHeightMap() 222 float[] hm = new float[heightData.length]; in getScaledHeightMap() 223 for (int i=0; i<heightData.length; i++) { in getScaledHeightMap() 224 hm[i] = heightScale * heightData[i]; in getScaledHeightMap() 261 dos.write((int) heightData[j + (i * size)]); in save() [all …]
|
D | RawHeightMap.java | 85 public RawHeightMap(float heightData[]) { in RawHeightMap() argument 86 this.heightData = heightData; in RawHeightMap() 87 this.size = (int) FastMath.sqrt(heightData.length); in RawHeightMap() 155 if (null != heightData) { in load() 161 heightData = new float[size * size]; in load() 181 heightData[index] = dis.readUnsignedShort(); in load() 197 heightData[index] = dis.readUnsignedShort(); in load() 199 heightData[index] = dis.readUnsignedByte(); in load()
|
D | ImageBasedHeightMap.java | 106 heightData = new float[(imageWidth * imageHeight)]; in load() 116 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 121 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 130 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 135 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load()
|
D | CombinerHeightMap.java | 233 if (null != heightData) { in load() 238 heightData = new float[size * size]; in load() 248 heightData[i + (j * size)] = in load() 256 heightData[i + (j * size)] = in load()
|
D | FluidSimHeightMap.java | 143 if (null != heightData) { in load() 147 heightData = new float[size * size]; in load() 214 heightData[x + y * size] = (float) (tempBuffer[curBuf][x + y * size]); in load()
|
D | HillHeightMap.java | 122 if (null != heightData) { in load() 125 heightData = new float[size * size]; in load()
|
D | MidpointDisplacementHeightMap.java | 119 if (null != heightData) { in load() 122 heightData = new float[size * size]; in load()
|
D | ParticleDepositionHeightMap.java | 147 if (null != heightData) { in load() 152 heightData = new float[size * size]; in load()
|
D | FaultHeightMap.java | 134 if (null != heightData) { in load() 137 heightData = new float[size * size]; in load()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/ |
D | GeoMap.java | 56 public GeoMap(FloatBuffer heightData, int width, int height, int maxval){ in GeoMap() argument 57 hdata = new float[heightData.limit()]; in GeoMap() 58 heightData.get(hdata); in GeoMap() 64 public GeoMap(float[] heightData, int width, int height, int maxval){ in GeoMap() argument 65 this.hdata = heightData; in GeoMap()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
D | FractalTileLoader.java | 36 this.heightData = this.buffer.array(); in load()
|