NATURAL TEXTURES
Most of these natural looking textures make use of a fractal
turbulence function (TURB), which works by summing
a random noise function (NOISE) at different frequencies
and scales.
Pixel Magic contains both 2d and 3d versions of these functions.
The 3D versions are useful for creating animated turbulence effects,
such as moving clouds.
|
Clouds |
In this picture, the
saturation function uses the turbulence
function (TURB) to provide a cloud-like desaturation of the
skyblue field provided by the hue function. The brightness
value is also raised, using the same function.
|
|
Lightning |
This is basically an inverted
marble. |
|
Marble |
Passing the absolute value of TURB (which normally returns
values in the range -1 thru 1) to SQRT causes sharp black
"veins" to appear, which have the appearence of marble.
|
|
Planet Clouds |
The sx() and sy() functions can be used to create textures which
map onto spheres. These can be used as texture maps for 3D
rendering programs. This particular texture maps the turbulence
function onto a sphere, creating a cloud enshrouded planet.
|
|
Tree Trunk |
In this image a pattern of concentric rings is perturbed using
the turbulence function, creating a wood-like pattern.
|
|
Water |
|
|
Waves |
In this example, a cosine function is perturbed by a 3-D
fractal turbulence function. The time variable produces
a movie showing the wave in motion. This can be used
for a bump map to produce a natural wave-like texture.
|