|
|
> scott <sco### [at] scottcom> wrote:
>> See example images posted in p.b.i
>>
>> SkySim.inc is the macro, SkySimTestGround.pov is a simple example of a
>> scene using the macro.
>
> Hello, I try your macro but I've got an error on line:
> #local xyYtoR = function (x,y,Y){ (x/y* 3.2406 -1.5372 + (1-x-y)/y *
> -0.4986)*Y/SkyMaxLuminance }
> where Y seems undefined.
> I am wrong?
>
Try calling the function this way:
xyYtoR(x,y,1)
This is a reason to NOT use "X", "Y" or "Z" as user variable names. It
can lead to some confusion.
Alain
Post a reply to this message
|
|