Class TerrainWaterExample

java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.terrain.TerrainWaterExample
All Implemented Interfaces:
Scene, Updater, Runnable

public class TerrainWaterExample extends ExampleBase
Example showing how to combine the terrain and water systems. Requires GLSL support.
  • Constructor Details

    • TerrainWaterExample

      public TerrainWaterExample()
  • Method Details

    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the arguments
    • updateExample

      protected void updateExample(ReadOnlyTimer timer)
      Update the PassManager, skybox, camera position, etc.
      Overrides:
      updateExample in class ExampleBase
      Parameters:
      timer - the application timer
    • renderExample

      protected void renderExample(Renderer renderer)
      Render example.
      Overrides:
      renderExample in class ExampleBase
      Parameters:
      renderer - the renderer
    • initExample

      protected void initExample()
      Initialize pssm pass and scene.
      Specified by:
      initExample in class ExampleBase