com.jme3.terrain.heightmap
Class ImageBasedHeightMapGrid

java.lang.Object
  extended by com.jme3.terrain.heightmap.ImageBasedHeightMapGrid
All Implemented Interfaces:
HeightMapGrid

Deprecated.

@Deprecated
public class ImageBasedHeightMapGrid
extends java.lang.Object
implements HeightMapGrid

Loads Terrain grid tiles with image heightmaps. By default it expects a 16-bit grayscale image as the heightmap, but you can also call setImageType(BufferedImage.TYPE_) to set it to be a different image type. If you do this, you must also set a custom ImageHeightmap that will understand and be able to parse the image. By default if you pass in an image of type BufferedImage.TYPE_3BYTE_BGR, it will use the ImageBasedHeightMap for you.


Constructor Summary
ImageBasedHeightMapGrid(AssetManager assetManager, Namer namer)
          Deprecated.  
ImageBasedHeightMapGrid(java.lang.String textureBase, java.lang.String textureExt, AssetManager assetManager)
          Deprecated.  
 
Method Summary
 HeightMap getHeightMapAt(Vector3f location)
          Deprecated.  
 void setSize(int size)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageBasedHeightMapGrid

public ImageBasedHeightMapGrid(java.lang.String textureBase,
                               java.lang.String textureExt,
                               AssetManager assetManager)
Deprecated. 

ImageBasedHeightMapGrid

public ImageBasedHeightMapGrid(AssetManager assetManager,
                               Namer namer)
Deprecated. 
Method Detail

getHeightMapAt

public HeightMap getHeightMapAt(Vector3f location)
Deprecated. 
Specified by:
getHeightMapAt in interface HeightMapGrid

setSize

public void setSize(int size)
Deprecated. 
Specified by:
setSize in interface HeightMapGrid