POV-Ray : Newsgroups : povray.general : linux and windows version produce different output : Re: linux and windows version produce different output Server Time
4 Nov 2024 17:36:47 EST (-0500)
  Re: linux and windows version produce different output  
From: ABX
Date: 12 Nov 2003 11:29:42
Message: <24n4rvc7kdfgu7pamhd11ge2fl0t6opk2q@4ax.com>
On Wed, 12 Nov 2003 17:03:10 +0100, sascha <sas### [at] userssourceforgenet>
wrote:
> Yes, but in this case the windows version shoots reflected rays where the linux
version does not

Somehow I missed 'fresnel' keyword, sorry. In case of 'fresnel' there was a
problem related to equation I also found. This is a line:

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

in lighting.cpp (in determine_reflectivity()). For some cases (also official
benchmark) it caused evaluation of sqrt for negative values. Depending on
compiler it could behave different.

And this is _not_ fixed yet. Any ideas would be appreciated for sure.

ABX


Post a reply to this message

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