jjdh.opengl.meshes.common
Class HeightMapMesh
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.VertexArrayMesh
jjdh.opengl.meshes.common.HeightMapMesh
- All Implemented Interfaces:
- Renderable, Mesh
public class HeightMapMesh
- extends VertexArrayMesh
Method Summary |
void |
dispose(javax.media.opengl.GL gl)
|
protected void |
privateRender(javax.media.opengl.GL gl)
This method has to be overwritten by subcasses. |
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh |
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial |
texture
private com.sun.opengl.util.texture.Texture texture
texGen
private TexGen texGen
HeightMapMesh
public HeightMapMesh(BufferedImage heightMap,
BufferedImage colorMap,
HeightMapMesh.HeightMapConfiguration config)
HeightMapMesh
public HeightMapMesh(BufferedImage heightMap,
com.sun.opengl.util.texture.Texture texture,
HeightMapMesh.HeightMapConfiguration config,
boolean useTexGen)
privateRender
protected void privateRender(javax.media.opengl.GL gl)
- Description copied from class:
AbstractMesh
- This method has to be overwritten by subcasses.
- Overrides:
privateRender
in class VertexArrayMesh
- Parameters:
gl
- a OpenGL obejct
dispose
public void dispose(javax.media.opengl.GL gl)
- Specified by:
dispose
in interface Mesh
- Overrides:
dispose
in class VertexArrayMesh
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.