|
|
In article <3A599631.FFE03888@atosorigin.com>, Jerome Grimbert
<jer### [at] atosorigincom> wrote:
> It has already been done... but not in the official 3.1g
> Please have a look about SHEET (or BAND ?) in some unofficial version.
> It is exactly what it does.
There are two patterns..."sheet" and "banded". The "sheet" pattern uses:
value = EPoint[X]*TPat->Vals.Gradient[X]
+ EPoint[Y]*TPat->Vals.Gradient[Y]
+ EPoint[Z]*TPat->Vals.Gradient[Z];
return(value>1.0 ? 1.0 : (value<0.0? 0.0:value));
which looks like what he wants. The "banded" pattern is the same as
gradient, except it doesn't mirror around the origin, and the bands are
always the same length.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|