carpet	- Simulate carpeted surface

SYNOPSIS

Surface "carpet" "Ka" n "Kd" n "scuff" n "nap" n

PARAMETERS

float Ka=0.1, Kd=0.6
float scuff=1, nap=1

DESCRIPTION

This shader produces a carpeted surface, complete with scuff-marks. The scuff parameter controls the “amount of scuffing”, or the relative frequency of intensity variations. Higher values produce more frequent scuffing. nap describes the “shagginess” of the carpet. Higher values make a more coarse-looking carpet.

The carpet shader makes a reasonable stab at anti-aliasing, so the actual grain of the carpet fades away with distance.

There are no specular reflections from real carpet (at least on a macroscopic scale), so the only lighting parameters are Ka and Kd, which have the usual meanings of ambient and diffuse reflective intensities, respectively.

BUGS

The way anti-aliasing is performed can cause linear artifacts in some cases.

SEE ALSO

intro(3s)

 

Pixar Animation Studios
(510) 752-3000 (voice)   (510) 752-3151 (fax)
Copyright © 1996- Pixar. All rights reserved.
RenderMan® is a registered trademark of Pixar.