Package com.ardor3d.example.effect
Class ProjectedGridWaterExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.effect.ProjectedGridWaterExample
A demonstration of the WaterNode and ProjectedGrid classes; which handles rendering of water effects with a projected
 grid.
- 
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, light, QUIT_VM_ON_EXIT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidInitialize water node and scene.static voidThe main method.protected voidrenderExample(Renderer renderer) Render example.protected voidupdateExample(ReadOnlyTimer timer) Update skybox location and waterQuad position.Methods inherited from class com.ardor3d.example.ExampleBase
doPick, exit, getAttributes, init, processPicks, quit, registerInputTriggers, renderDebug, renderUnto, run, start, update, updateLogicalLayer 
- 
Constructor Details
- 
ProjectedGridWaterExample
public ProjectedGridWaterExample() 
 - 
 - 
Method Details
- 
main
The main method.- Parameters:
 args- the args
 - 
updateExample
Update skybox location and waterQuad position.- Overrides:
 updateExamplein classExampleBase- Parameters:
 timer- the timer
 - 
renderExample
Render example.- Overrides:
 renderExamplein classExampleBase- Parameters:
 renderer- the renderer
 - 
initExample
protected void initExample()Initialize water node and scene.- Specified by:
 initExamplein classExampleBase
 
 -