Class InterpolatedNoiseDataGenerator

java.lang.Object
com.ardor3d.example.craft.generators.InterpolatedNoiseDataGenerator
All Implemented Interfaces:
DataGenerator

public class InterpolatedNoiseDataGenerator extends Object implements DataGenerator
Some nice terrain with trees.
  • Constructor Details

    • InterpolatedNoiseDataGenerator

      public InterpolatedNoiseDataGenerator()
  • Method Details

    • generateChunk

      public void generateChunk(int xStart, int zStart, int xEnd, int zEnd, int spacing, int height, WorldModifier blockScene)
      Description copied from interface: DataGenerator
      Method to implement for custom terrain generation.
      Specified by:
      generateChunk in interface DataGenerator
      Parameters:
      xStart - Starting point of generation in X
      zStart - Starting point of generation in ZZ
      xEnd - Ending point of generation in X
      zEnd - Ending point of generation in Z
      spacing - Space between sample data points (for faster zoom outs in map viewers etc)
      height - Height of data to generate in Y
      blockScene - WorldModifier to build the world against (setBlock etc).