POV-Ray : Newsgroups : povray.general : normal/slope question : Re: normal/slope question Server Time
19 Nov 2024 22:40:34 EST (-0500)
  Re: normal/slope question  
From: Simon Adameit
Date: 19 Dec 2001 09:18:11
Message: <3c20a1a3@news.povray.org>
> I'm not sure I understand slope pattern well but perhaps you expect
something
> like this ?
>
>    pigment{
>      average
>      pigment_map{
>        [3 slope x color_map{[0 rgb 0][1 red 1]}]
>        [3 slope y color_map{[0 rgb 0][1 green 1]}]
>        [3 slope z color_map{[0 rgb 0][1 blue 1]}]
>      }
>    }
>
> ABX
>
I have something like this but my question is how I can get the direction of
the normal from the colors I get from this pigment.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.