POV-Ray : Newsgroups : povray.advanced-users : custom dispersion curve : Re: custom dispersion curve Server Time: 24 Jul 2008 13:49:23 GMT
  Re: custom dispersion curve  
From: Jan Dvorak
Date: 19 Feb 2008 09:07:02
AaronD napsal(a):
> bart <bart [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 1991-2004 POV-Team™