POV-Ray : Newsgroups : povray.general : linux and windows version produce different output : Re: linux and windows version produce different output Server Time
3 Aug 2024 20:16:22 EDT (-0400)
  Re: linux and windows version produce different output  
From: Lutz-Peter Hooge
Date: 15 Nov 2003 00:56:40
Message: <3fb5c018$1@news.povray.org>
ABX <abx### [at] abxartpl> wrote:

>   g = sqrt(Sqr(ior) + Sqr(cos_angle) - 1);

That is cos(beta).

So if ior^2+cos_angle^2-1 < 0 total interreflection should occur.
But just setting F=1 would perhaps be the wrong solution (though it 
would still be much better than the current situation), since
that would still be clipped to [reflectionmin, reflectionmax].
There are some other references to total interreflection in that file so 
maybe this case is _supposed_ to be caught earlier?

Lutz-Peter


Post a reply to this message

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