POV-Ray : Newsgroups : povray.advanced-users : custom dispersion curve : Re: custom dispersion curve Server Time
5 Jul 2024 15:03:56 EDT (-0400)
  Re: custom dispersion curve  
From: Jan Dvorak
Date: 19 Feb 2008 04:07:02
Message: <47ba9c36@news.povray.org>
AaronD napsal(a):
> bart <bar### [at] barthome> wrote:
> 
>> 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.
> 
> I thought about that too, but I want to render a lot of materials this way and
> thought it may be a good addition to POV-Ray anyway, since a lot of transparent
> materials have nonlinear dispersion.  I found Element_IOR in lighting.cpp that
> returns a modified ior dependent on disp and nelems so perhaps just that one
> function could be modified to read from an array instead of disp and nelems,
> but I don't know if that is the only place I would have to modify.
> 
> 
You can find out via T&E


Post a reply to this message

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