I was studying Perlin s Noise through some examples @ http://dindinx.net/OpenGL/index.php?menu=exemples&submenu=shaders and couldn t help to notice that his make3DNoiseTexture()
in perlin.c
uses noise3(ni)
instead of PerlinNoise3D(...)
Now why is that? Isn t Perlin s Noise supposed to be a summation of different noise frequencies and amplitudes?
Qestion 2 is what does ni, inci, incj, inck
stand for? Why use ni
instead of x,y coordinates? Why is ni
incremented with
ni[0]+=inci;
inci = 1.0 / (Noise3DTexSize / frequency);
I see Hugo Elias created his Perlin2D with x,y coordinates, and so does PerlinNoise3D(...).
Thanks in advance :)