POV-Ray : Newsgroups : povray.general : normal/slope question : Re: normal/slope question Server Time
7 Aug 2024 01:25:41 EDT (-0400)
  Re: normal/slope question  
From: bob h
Date: 19 Dec 2001 09:29:50
Message: <3c20a45e@news.povray.org>
"Simon Adameit" <gom### [at] gmxde> wrote in message
news:3c20a1a3@news.povray.org...
>
> 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.


Ah, well then you want to use trace().  It can get you the normal vector
which could then be used as color vector.  The example in the documentation
should be enough to go by.
--
text{ttf"timrom""bob h"0,0pigment{rgb 7}translate 7*z}


Post a reply to this message

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