POV-Ray : Newsgroups : povray.advanced-users : custom dispersion curve : Re: custom dispersion curve Server Time
5 Jul 2024 14:08:26 EDT (-0400)
  Re: custom dispersion curve  
From: bart
Date: 19 Feb 2008 03:40:13
Message: <47ba95ed@news.povray.org>
AaronD wrote:
> I want to specify the index of refraction for each color, in the number of steps
> that I specify (just as with dispersion) only in a customized way, for example:
> 
> n=2 for red part of spectrum
> n=1 for middle part of spectrum
> n=3 for violet part of spectrum
> 
> Since I cannot do this with the dispersion property, how can I do this?

As a very simple solution you can try
to split your scene into separate color channels,
render them independently, and then
just combine them all in a final image.


Post a reply to this message

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