|
Assignment 4 – Marble Texturing |
|
For
this assignment I used Perlin’s noise function to get noise for my texture. I used the noise in a turbulence function:
turbulence = noise(p) + 0.5noise(2p) + 0.25noise(4p) + … |
|
The
color mapping for the blue marble is from a Raydeon demo for openGL…it really
looks more clay like than marble. |
|
|
|
Here’s
the black and white version with some more tweaking of the function. |
|
|
|
The
next images were done using a sin function, which called the turbulence
function. 0.5
* ( sin( (period * p.x) + (turbulence(p)*distortion) ) + 1.0 ) |
|
|