On Wed, 19 Dec 2001 16:00:12 +0100, "Simon Adameit" <gom### [at] gmxde> wrote:
> I want to make a pigment that uses the direction of the normal at each point
> of the surface, this is not possible with trace.
If slope pattern is proportional to normal vie on Direction parameter then I
think
pigment{
average
pigment_map{
[3 slope x color_map{[0 red -3][1 red 3]}]
[3 slope y color_map{[0 green -3][1 green 3]}]
[3 slope z color_map{[0 blue -3][1 blue 3]}]
}
}
returns direction of the normal. But if slope pattern is proportional to the
angle then I'm wrong.
ABX
Post a reply to this message
|