HomeSort by relevance Sort by last modified time
    Searched refs:heightData (Results 1 - 11 of 11) sorted by null

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
AbstractHeightMap.java 58 protected float[] heightData = null;
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[i];
    [all...]
RawHeightMap.java 85 public RawHeightMap(float heightData[]) {
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();
CombinerHeightMap.java 233 if (null != heightData) {
238 heightData = new float[size * size];
248 heightData[i + (j * size)] =
256 heightData[i + (j * size)] =
ImageBasedHeightMap.java 106 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;
FluidSimHeightMap.java 143 if (null != heightData) {
147 heightData = new float[size * size];
214 heightData[x + y * size] = (float) (tempBuffer[curBuf][x + y * size]);
HillHeightMap.java 122 if (null != heightData) {
125 heightData = new float[size * size];
MidpointDisplacementHeightMap.java 119 if (null != heightData) {
122 heightData = new float[size * size];
FaultHeightMap.java 134 if (null != heightData) {
137 heightData = new float[size * size];
ParticleDepositionHeightMap.java 147 if (null != heightData) {
152 heightData = new float[size * size];
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
GeoMap.java 56 public GeoMap(FloatBuffer heightData, int width, int height, int maxval){
57 hdata = new float[heightData.limit()];
58 heightData.get(hdata);
64 public GeoMap(float[] heightData, int width, int height, int maxval){
65 this.hdata = heightData;
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
FractalTileLoader.java 36 this.heightData = this.buffer.array();

Completed in 564 milliseconds