| Procedural Texture |
Article Index for Procedural |
Website Links For Procedural |
Information AboutProcedural Texture |
| CATEGORIES ABOUT PROCEDURAL TEXTURE | |
| 3d computer graphics | |
|
A procedural texture is a Computer Generated Image created using an Algorithm intended to create a realistic representation of natural elements such as Wood , Marble , Granite , Metal , Stone , and others. Usually, the natural look of the rendered result is achieved by the usage of Fractal Noise and Turbulence Function s. These functions are used as a Numerical representation of the “ Randomness ” found in everything that surrounds us. In general, these noise and fractal functions are simply used to ''“disturb”'' the texture in a natural way such as the undulations of the veins of the wood. In other cases, like marbles' textures, they are based on the graphical representation of fractal noise. EXAMPLE OF A PROCEDURAL MARBLE TEXTURE: (Taken from The Renderman Companion Book, by Steve Upstill)
blue_marble( float Ks = .4, Kd = .6, Ka = .1, roughness = .1, txtscale = 1; color specularcolor = 1) {
float pixelsize, twice, scale, weight, turbulence;
Nf = faceforward( normalize(N), I); V = normalize(-I);
pixelsize = sqrt(area(PP));
turbulence = 0; for (scale = 1; scale > twice; scale /= 2)
if (scale > pixelsize) { weight = (scale / pixelsize) - 1; weight = clamp(weight, 0, 1);
}
Ci = color spline(csp,
);
Oi = Os;
} ''This article was taken from The Photoshop Roadmap with written authorization'' SEE ALSO |
|
|