Any one can explain me what does W factor on noise texture when I switch options to 1D or 4D?
How does it work? what is the meaning of 4 dimension in 3d space?
Thanks
Any one can explain me what does W factor on noise texture when I switch options to 1D or 4D?
How does it work? what is the meaning of 4 dimension in 3d space?
Thanks
In standard physics the 4th dimension is âtimeâ. So you can use it for animations or just as a random value. I think âcgmatterâ is describing this in one of his short tutorials.
The noise function doesnât really work with a 3d space⌠it works with some inputs to produce one output.
In practice, we feed a 3D space coordinate to it, but thatâs just a typical use.
Think about it as this:
A 1D noise function produces an output in the range [0, 1], for any Value1 we use as Input.
(the âcolorâ output, is just the noise function being called 3 times with Value1 but with a different âseedâ, one for each rgb component)
Sometimes, we have a Value2 that should also influence the output, in parallel to Value1, so we add a second dimension to the function.
And this can go on for as many dimensions you need.
If Value1, Value2, âŚ, ValueN, are spatial coordinates is another matter. The Noise function is abstract enough to use whatever you give it as input.
Thanks, can you send your mentioned link?
Thank you too for your explanation about that,
But what do you mean when you say âThe noise function doesnât really work with a 3d spaceâ?
Well, perhaps that was to much!
What i wanted to say, is that the underlying noise is ultimatelly a 1d function, that is repeated with a different seed, to build lattices of bigger dimensions.
The noise texture calls the noise function to build a lattice of points around the sampling point, and interpolates the result. A 2d noise uses a square, and a 3d noise uses a cube.
A 4d noise still uses a cube, but the 4th dimension scrambles the values from the previous lattice points. Itâs the same as the 3d noise applied to a plane⌠if you change the value of Z, youâll get a variation of the result, even if Z doesnât mean nothing to a plane.
To this matter, the same occurs with the voronoi 4d; where a 3x3 grid of cells is used around the sampling location, with a random point inside each, and the result is just the distance to the nearest point⌠the 4th dimension scrambles the location of those points (inside their cells).
Thanks manâ:pray:
Examples of dimensions: