POV-Ray : Newsgroups : povray.advanced-users : custom dispersion curve : Re: custom dispersion curve Server Time: 6 Jul 2008 23:30:51 GMT
  Re: custom dispersion curve  
From: AaronD
Date: 19 Feb 2008 09:05:02
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.


Post a reply to this message

Copyright 1991-2004 POV-Team™