POV-Ray : Newsgroups : povray.beta-test : Iridescense Bug : Re: Iridescense Bug Server Time
7 Jul 2024 06:55:15 EDT (-0400)
  Re: Iridescense Bug  
From: Alain
Date: 22 Aug 2009 18:16:09
Message: <4a906e29$1@news.povray.org>

> Alain schrieb:
>> Sample showing the problem when you use irid with turbulence.
> 
> I didn't even see /that/ problem yet, but yes, that part is bogus, too: 
> The code is written in such a way that when turbulence is used...
> 
> (a) the effective turbulence "strength" is always 1.0
> (b) the value specified with the "turbulence" keyword instead multiplies 
> the thickness parameter
> 
> I guess that (a) causes the (apparent) angle-independence of the effect, 
> as the film thickness varies too much to see any influence of the light 
> direction, while (b) causes small turbulence values to kill the whole 
> iridescence effect (with the wrong side effect of greying out the whole 
> color).
> 
> 
> Man, that code is probably the crappiest part in all of POV-Ray.

I can agree with you. That peice of code is rotten to the core.

I think that this is a cese where you must recode the whole thing 
without regard to backware compatibility with older scenes.
Older scenes that do use the feature will probably benefit from the change.


Alain


Post a reply to this message

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