//Constructors//
 public RendererNormal()
 {
     BumpHeight = 1.0;
     IsWrapEnabled = false;
     DestImage = null;
     SourceNoiseMap = null;
 }
Exemple #2
0
 //Constructors//
 public RendererImage()
 {
     IsLightEnabled  = false;
     IsWrapEnabled   = false;
     LightAzimuth    = 45.0;
     LightBrightness = 1.0;
     LightColor      = Color.white;
     LightContrast   = 1.0;
     LightElev       = 45.0;
     LightIntensity  = 1.0;
     BackgroundImage = null;
     DestImage       = null;
     SourceNoiseMap  = null;
     calcLightValues = true;
     //BuildGrayscaleGradient();
     BuildTerrainGradient();
 }
 //Constructors//
 public RendererImage()
 {
     IsLightEnabled = false;
     IsWrapEnabled = false;
     LightAzimuth = 45.0;
     LightBrightness = 1.0;
     LightColor = Color.white;
     LightContrast = 1.0;
     LightElev = 45.0;
     LightIntensity = 1.0;
     BackgroundImage = null;
     DestImage = null;
     SourceNoiseMap = null;
     calcLightValues = true;
     //BuildGrayscaleGradient();
     BuildTerrainGradient();
 }
Exemple #4
0
 public NoiseMapBuilderCylinder(int width, int height)
 {
     Map = new NoiseMap(width, height);
     SetBounds(0.0, 0.0, 0.0, 0.0);
 }
Exemple #5
0
 public NoiseMapBuilderPlane(int width, int height)
 {
     Map        = new NoiseMap(width, height);
     IsSeamless = false;
     SetBounds(0.0, 0.0, 0.0, 0.0);
 }
 public NoiseMapBuilderCylinder(int width, int height)
 {
     Map = new NoiseMap(width, height);
     SetBounds(0.0, 0.0, 0.0, 0.0);
 }
 public NoiseMapBuilderPlane(int width, int height)
 {
     Map = new NoiseMap(width, height);
     IsSeamless = false;
     SetBounds(0.0, 0.0, 0.0, 0.0);
 }