Page 1 of 1

Volumina using real world refractive indices

Posted: Tue Feb 20, 2018 5:59 pm
by lighting_freak
Hi,

does lux core offers a feature like "old" classic lux to import tables that combines a certain wavelength with it's related refractive index.
It will allow more realistic dispersion as well as more trustful color mixing and total inner reflection handling while light is running through a volumina.

BTW Same question for wavelength dependent absorption coefficients to transfer volumetric real world data into lux.
Thanks in advance.

BR

Re: Volumina using real world refractive indices

Posted: Wed Feb 21, 2018 4:27 pm
by Dade
lighting_freak wrote: Tue Feb 20, 2018 5:59 pm does lux core offers a feature like "old" classic lux to import tables that combines a certain wavelength with it's related refractive index.
It will allow more realistic dispersion as well as more trustful color mixing and total inner reflection handling while light is running through a volumina.
Not at the moment, the translation from wave length => IOR is currently fixed and done using the Cauchy equation. However it should be quite easy to add an option for using a translation table instead of the equation.
lighting_freak wrote: Tue Feb 20, 2018 5:59 pm BTW Same question for wavelength dependent absorption coefficients to transfer volumetric real world data into lux.
Thanks in advance.
At the moment, the only wave length dependent computation done in LuxCore are the one for dispersion. However the same solution used there could be extended for simulate other wave length dependent interactions (i.e. surface films, etc.).