POV-Ray : Newsgroups : povray.beta-test : Iridescense Bug : Re: Iridescense Bug Server Time
7 Jul 2024 07:12:02 EDT (-0400)
  Re: Iridescense Bug  
From: clipka
Date: 22 Aug 2009 00:05:47
Message: <4a8f6e9b$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.


Post a reply to this message

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