Hi to all,
Panda3d is really an amazing engine, I didn’t know it supported both 2d and 3d Perlin noise generation! That said, documentation regarding this is rather scant; other than the api reference and a few topics here and there on the forum, there really is nothing else to help someone tap into these cool features.
So, here are my questions, to anyone that’s well versed in using them:
- For both PerlinNoise2 and PerlinNoise3 classes, there are 3 constructor versions, for the third constructor version, you can pass some parameters:
PerlinNoise2(sx, sy, table_size, seed)
PerlinNoise3(sx, sy, sz, table_size, seed)
Is there a range for sx, sy and sz? A minimum and maximum value they can be, such as, they must be a value between 0 and 1? For table_size, must a value of 256 always be assigned to it? And for the seed, it can be any unsigned long int, right?
- Then, for these methods:
.noise(double x, double y) /.noise(double x, double y, double z)
.setScale(double sx, double sy)/.setScale(double sx, double sy, double sz)
Are there set minimum and maximum values that can be passed to them as well? What is the range of values that can be passed? Must they be between 0 and 1?
That’s all. I appreciate any help in advance as always.