POV-Ray : Newsgroups : povray.advanced-users : D65 spectral locus : Re: D65 spectral locus Server Time
26 Apr 2024 04:24:13 EDT (-0400)
  Re: D65 spectral locus  
From: Mike Horvath
Date: 17 Mar 2017 00:59:16
Message: <58cb6d24$1@news.povray.org>
On 3/16/2017 7:53 PM, clipka wrote:
>
> Sorry, but this is totally bonkers.
>
> The indices into xyz_table are to be interpreted as representing
> wavelengths.
>
> So you're varying three wavelength variables independently: For one (i)
> you're summing up the x component; for another one (j) you're summing up
> the y component; and for yet another one (k) you're summing up the z
> component.
>
> What good do you expect this to do?
>
> What you really need is a smart external loop or set of loops that
> generates /spectra/, not wavelengths -- and then within that loop insert
> a /single/ additional loop that varies a wavelength variable i, summing
> up xyz_table[i] * D65_table[i] * spectral_power(i).
>

Yes, how do I come up with these /spectra/? I don't have a 
spectral_power(i) and it is not mentioned in the equations I am trying 
to follow here:

http://www.brucelindbloom.com/index.html?Eqn_Spect_to_XYZ.html


Mike


Post a reply to this message

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