POV-Ray : Newsgroups : povray.general : povray vs uberpov am3 : Re: povray vs uberpov am3 Server Time
3 May 2024 10:45:40 EDT (-0400)
  Re: povray vs uberpov am3  
From: William F Pokorny
Date: 19 Sep 2020 10:08:46
Message: <5f6610ee$1@news.povray.org>
On 9/19/20 8:22 AM, William F Pokorny wrote:
...
> 
> I've never looked over Christoph's am3 code. Guess I'll go take a peek.
> 

Hey jr, Given you have machine which shows the slow down and one which 
does not, would you be willing to add the following test in compiles for 
both machines? Then try white/black and white/color renders on both?

In tracetask.cpp, at about line 764, insert code so things look like:

double cf = confidenceFactor[neighborSamples-1];
PreciseRGBTColour sqrtvar = Sqrt(variance);

if (variance.red()<0)
     throw POV_EXCEPTION_STRING("kaboom");

PreciseRGBTColour confidenceDelta = sqrtvar * cf;

I think in povr I've fixed the stats - so your line counts might be a 
little different.

I hacked the up front confidence array (as vector) to something simpler 
so my b/w runs in about 2 seconds and my color one in 34s. Stats now 
show for the two renders:

Pixels: 360000   Samples:  609399 Smpls/Pxl: 1.69
and
Pixels: 360000   Samples: 9511337 Smpls/Pxl: 26.42

Bill P.


Post a reply to this message

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