POV-Ray : Newsgroups : povray.programming : True Diffraction : Re: True Diffraction Server Time
29 Jul 2024 00:23:04 EDT (-0400)
  Re: True Diffraction  
From: Nathan Kopp
Date: 11 Feb 1999 00:26:04
Message: <36C26A31.B9F85D0D@Kopp.com>
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


Post a reply to this message

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