|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme.locale.external.Terrain
jme.locale.external.BruteForce
BruteForce
renders height data with no optimizations. It
provides the hightest detail possible at the cost of performance. Each
vertex defined by the height data is rendered regardless of visiblity,
distance, etc.
Field Summary |
Fields inherited from class jme.locale.external.Terrain |
detailId, gl, heightData, isDetailed, isLit, isTextured, lightMap, repeatDetailMap, terrainSize, terrainTexture, useDistanceFog, useVolumeFog, xScale, zScale |
Constructor Summary | |
BruteForce(AbstractHeightMap heightData)
Constructor sets the heightdata and gets the GL reference. |
Method Summary | |
void |
render()
render creates a triangle strip for each row of the
height map. |
void |
update(float time)
update does not do anything. |
Methods inherited from class jme.locale.external.Terrain |
setDetailTexture, setDistanceFog, setFogAttributes, setHeightData, setLightMap, setTexture, setTexture, setVolumetricFog, setVolumetricFogCoord, setVolumetricFogDepth, setXScale, setZScale, useDistanceFog, useVolumetricFog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BruteForce(AbstractHeightMap heightData)
BruteForce
object.
heightData
- the data that represents the terrain information.
MonkeyRuntimeException
- if heightData is null.Method Detail |
public void update(float time)
update
does not do anything. It is here for compatibility
sake.
update
in interface Locale
update
in class Terrain
Locale.update(float)
public void render()
render
creates a triangle strip for each row of the
height map. These strips are then rendered, with the appropriate texture
and shadowing.
render
in interface Locale
render
in class Terrain
Locale.render()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |