|
![](/i/fill.gif) |
Nathan Kopp wrote:
>
> Peter Popov wrote:
> >
> > Another problem is wavelength. While one can specify it implicitly for
> > the aforementioned purposes, it is needed for dispersion, Rayleigh
> > scattering, etc. I have given thought to this and even tried to find
> > away to Fourier-analyse rgb components :) (I was young and naive then,
> > now I'm only young), but gave up and concluded that simple sampling
> > will be easier. Someone else found this before I did (Greetings Mr.
> > Wilson ), it seems. I thought that, instead of rgbf colours, light
> > spectrum could be used (like a color_map, but shows the intensity and
> > absorption of light for different wavelenghts), but then again,
> > nobody's *that* crazy to use this things.
> >
>
> I just added (to my photon mapping stuff) an option to define a light's
> color as a color_map, replacing the single color. This color_map
> defines all of the frequencies/intensities inside the single light, so
> that it is properly split up when it hits an object that causes
> dispersion. It's neat, because you can have one scene where a yellow
> light gets split into red and green, and another where the same yellow
> stays yellow (pure yellow wavelength).
>
> -Nathan
Does this take into account color temperature as measured in kelvins ?
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
![](/i/fill.gif) |