POV-Ray : Newsgroups : povray.advanced-users : custom dispersion curve : Re: custom dispersion curve Server Time
5 Jul 2024 15:08:28 EDT (-0400)
  Re: custom dispersion curve  
From: AaronD
Date: 19 Feb 2008 04:05:02
Message: <web.47ba9b334c6a5a87256ade900@news.povray.org>
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.


Post a reply to this message

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