POV-Ray : Newsgroups : povray.newusers : Gradients : Re: Gradients Server Time
5 Sep 2024 02:18:25 EDT (-0400)
  Re: Gradients  
From: Ken
Date: 2 Jan 2002 20:52:57
Message: <3C33B97B.3FDDC65E@pacbell.net>
"John D. Gwinner" wrote:
> 
> This is a follow up question that belongs in 'new users' ..
> 
> when you code things like
> 
> translate -y
> 
> is it really the same thing as
> 
> translate <0, -1, 0>  (as the doc's imply)
> 
> or is the value 'y' being evaluated inside the color map somewhere?

Yes:

translate -y = translate <0,-1,0>

translate x+-y = translate <1,-1,0>


Additionally:

pigment { rgb y } = pigment { rgb <0,1,0> } = Green

pigment { rgb x+y+z } = pigment { rgb <1,1,1> } = White


Questions?

-- 
Ken Tyler


Post a reply to this message

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