Searched refs:heightData (Results 1 - 11 of 11) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DAbstractHeightMap.java58 protected float[] heightData = null; field in class:AbstractHeightMap
73 heightData = null;
101 heightData[x + (z * size)] = height;
152 //logger.info( heightData[x + (z*size)]);
153 return heightData[x + (z * size)];
167 return ((heightData[x + (z * size)]) * heightScale);
214 return heightData;
222 float[] hm = new float[heightData.length];
223 for (int i=0; i<heightData.length; i++) {
224 hm[i] = heightScale * heightData[
[all...]
H A DRawHeightMap.java85 public RawHeightMap(float heightData[]) { argument
86 this.heightData = heightData;
87 this.size = (int) FastMath.sqrt(heightData.length);
155 if (null != heightData) {
161 heightData = new float[size * size];
181 heightData[index] = dis.readUnsignedShort();
197 heightData[index] = dis.readUnsignedShort();
199 heightData[index] = dis.readUnsignedByte();
H A DCombinerHeightMap.java233 if (null != heightData) {
238 heightData = new float[size * size];
248 heightData[i + (j * size)] =
256 heightData[i + (j * size)] =
H A DImageBasedHeightMap.java106 heightData = new float[(imageWidth * imageHeight)];
116 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
121 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
130 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
135 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
H A DFluidSimHeightMap.java143 if (null != heightData) {
147 heightData = new float[size * size];
214 heightData[x + y * size] = (float) (tempBuffer[curBuf][x + y * size]);
H A DHillHeightMap.java122 if (null != heightData) {
125 heightData = new float[size * size];
H A DMidpointDisplacementHeightMap.java119 if (null != heightData) {
122 heightData = new float[size * size];
H A DFaultHeightMap.java134 if (null != heightData) {
137 heightData = new float[size * size];
H A DParticleDepositionHeightMap.java147 if (null != heightData) {
152 heightData = new float[size * size];
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
H A DGeoMap.java56 public GeoMap(FloatBuffer heightData, int width, int height, int maxval){ argument
57 hdata = new float[heightData.limit()];
58 heightData.get(hdata);
64 public GeoMap(float[] heightData, int width, int height, int maxval){ argument
65 this.hdata = heightData;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
H A DFractalTileLoader.java36 this.heightData = this.buffer.array();

Completed in 174 milliseconds