POV-Ray : Newsgroups : povray.text.scene-files : L*C*h(uv) functions : Re: L*C*h(uv) functions Server Time
20 Apr 2024 01:42:25 EDT (-0400)
  Re: L*C*h(uv) functions  
From: Mike Horvath
Date: 21 Nov 2016 15:28:05
Message: <583358d5$1@news.povray.org>
On 11/21/2016 3:13 PM, Bald Eagle wrote:
> Mike,
>
> FYI:
>
> you define
> #local VRGB = <funcXYZ2RGBb1(VXYZ.x,VXYZ.y,VXYZ.z),
> funcXYZ2RGBb2(VXYZ.x,VXYZ.y,VXYZ.z), funcXYZ2RGBb3(VXYZ.x,VXYZ.y,VXYZ.z)>;
>
> and then (re)define the same variable in the very next line:
> #local VRGB = <funcRGB2RGBa1(VRGB.x,VRGB.y,VRGB.z),
> funcRGB2RGBa2(VRGB.x,VRGB.y,VRGB.z), funcRGB2RGBa3(VRGB.x,VRGB.y,VRGB.z)>;
>
>
>

The second function takes RGB as input and outputs RGB as well, so I 
didn't rename the variable. You can change the variable name if that 
suits you.

Mike


Post a reply to this message

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