Package com.ardor3d.example.terrain
Class MountainShadowTerrainExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.terrain.MountainShadowTerrainExample
Example showing the Geometry Clipmap Terrain system with 'MegaTextures' where the terrain data is provided from a
float array populated from a heightmap generated from an Image. Requires GLSL support.
-
Field Summary
Fields inherited from class com.ardor3d.example.ExampleBase
_canvas, _controlHandle, _doShot, _exit, _frameHandler, _lightState, _logicalLayer, _minAlphaBits, _minDepthBits, _minStencilBits, _mouseManager, _physicalLayer, _root, _screenShotExp, _settings, _showBounds, _showDepth, _showNormals, _stereo, _timer, _wireframeState, _worldUp, QUIT_VM_ON_EXIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initialize pssm pass and scene.static void
protected void
renderDebug
(Renderer renderer) protected void
renderExample
(Renderer renderer) protected void
updateExample
(ReadOnlyTimer timer) protected void
updateLogicalLayer
(ReadOnlyTimer timer) Methods inherited from class com.ardor3d.example.ExampleBase
doPick, exit, getAttributes, init, processPicks, quit, registerInputTriggers, renderUnto, run, start, update
-
Constructor Details
-
MountainShadowTerrainExample
public MountainShadowTerrainExample()
-
-
Method Details
-
main
-
renderExample
- Overrides:
renderExample
in classExampleBase
-
updateExample
- Overrides:
updateExample
in classExampleBase
-
initExample
protected void initExample()Initialize pssm pass and scene.- Specified by:
initExample
in classExampleBase
-
updateLogicalLayer
- Overrides:
updateLogicalLayer
in classExampleBase
-
renderDebug
- Overrides:
renderDebug
in classExampleBase
-