POV-Ray : Newsgroups : povray.binaries.scene-files : Sky simulation : Re: Sky simulation Server Time
24 Apr 2024 15:19:53 EDT (-0400)
  Re: Sky simulation  
From: Fractracer
Date: 1 Jul 2013 08:25:01
Message: <web.51d174e159bb6361916440570@news.povray.org>
scott <sco### [at] scottcom> wrote:
> > It works (not fine but with no errors) when I change Y by z:
> > #local xyYtoR = function (x,y,z){ (x/y* 3.2406  -1.5372 + (1-x-y)/y *
> > -0.4986)*Y/SkyMaxLuminance }
> > I know this is not the good value but I try to see what happens.
> > I use v3.6 and v3.7 with the same result.
>
> If you change the Y to z in the parameter list then just change the Y to
> z in the equation too:
>
> #local xyYtoR = function (x,y,z){ (x/y* 3.2406  -1.5372 + (1-x-y)/y *
> -0.4986)*z/SkyMaxLuminance }
>
> That should then work the same as the original version.

Thanks, I go to try this when my render in works will stop.


Post a reply to this message

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