Noise3D generators: Changed noise generator to InterpolNoise.
This commit is contained in:
parent
288cbf12cb
commit
5325885ef4
@ -6,7 +6,7 @@
|
||||
#include "Globals.h"
|
||||
#include "ComposableGenerator.h"
|
||||
#include "../IniFile.h"
|
||||
#include "../Noise.h"
|
||||
#include "../Noise/Noise.h"
|
||||
#include "../LinearUpscale.h"
|
||||
|
||||
|
||||
|
@ -81,17 +81,17 @@ public:
|
||||
void Initialize(cIniFile & a_IniFile);
|
||||
|
||||
protected:
|
||||
/** The noise that is used to choose between density noise A and B. */
|
||||
cPerlinNoise m_ChoiceNoise;
|
||||
/** The 3D noise that is used to choose between density noise A and B. */
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_ChoiceNoise;
|
||||
|
||||
/** Density 3D noise, variant A. */
|
||||
cPerlinNoise m_DensityNoiseA;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_DensityNoiseA;
|
||||
|
||||
/** Density 3D noise, variant B. */
|
||||
cPerlinNoise m_DensityNoiseB;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_DensityNoiseB;
|
||||
|
||||
/** Heightmap-like noise used to provide variance for low-amplitude biomes. */
|
||||
cPerlinNoise m_BaseNoise;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_BaseNoise;
|
||||
|
||||
/** Block height of the sealevel, used for composing the terrain. */
|
||||
int m_SeaLevel;
|
||||
@ -155,16 +155,16 @@ protected:
|
||||
|
||||
|
||||
/** The noise that is used to choose between density noise A and B. */
|
||||
cPerlinNoise m_ChoiceNoise;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_ChoiceNoise;
|
||||
|
||||
/** Density 3D noise, variant A. */
|
||||
cPerlinNoise m_DensityNoiseA;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_DensityNoiseA;
|
||||
|
||||
/** Density 3D noise, variant B. */
|
||||
cPerlinNoise m_DensityNoiseB;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_DensityNoiseB;
|
||||
|
||||
/** Heightmap-like noise used to provide variance for low-amplitude biomes. */
|
||||
cPerlinNoise m_BaseNoise;
|
||||
cOctavedNoise<cInterpolNoise<Interp5Deg>> m_BaseNoise;
|
||||
|
||||
/** The underlying biome generator. */
|
||||
cBiomeGenPtr m_BiomeGen;
|
||||
|
Loading…
Reference in New Issue
Block a user