POV-Ray : Newsgroups : povray.general : radiosity brightness-- subtle problem at low values : Re: radiosity brightness-- subtle problem at low values Server Time
28 Sep 2024 04:24:51 EDT (-0400)
  Re: radiosity brightness-- subtle problem at low values  
From: Kenneth
Date: 10 Mar 2018 14:30:01
Message: <web.5aa431181cab2f0ba47873e10@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
>
> If anything, I'd expect the render to speed up, due to adc_bailout.

That was my own expectation too (or else, to take the *same* amount of time.)
Not based on anything technical, just a 'naive expectation' ;-)

From further experiments, the render doesn't stall, it just gets *really* slow.

Some observations, to try and eliminate some of the variables:
The slowdown actually occurs at a very sharp 'brightness' threshold of
exactly(?) .020.  (i.e., .021 doesn't show this.) And further reducing the
brightness to .001 does NOT cause an even slower render-- so the .020 threshold
seems to be the one and only 'point of change'.  For my particular scene and
render size, the 'usual' render time with rad (and brightness 0.7) is 11 seconds
elapsed time. At and below the brightness 'threshold', it's 176 seconds.

POV's default adc_bailout is 1/128 or  .0078, so as a general observation, it's
not adc_bailout that's 'coinciding' with this .020 threshold value. (But raising
adc_bailout *above* the threshold  -- to, say, .030-- does speed up the render
*somewhat*, by about 25-percent, which might be expected anyway(?); but it
doesn't 'eliminate' the slowdown. From this, it seems that adc_bailout isn't the
prime cause.

The returned 'max_level' in messages is always the same-- no change with any rad
'brightness' change. For my particular test scene, which has reflections, I set
it to 10, and the returned value is always 6/10

It doesn't look like it depends on number of objects in a scene, or maybe just
to a very small degree. And doesn't change when reflections are used vs setting
their values to 0.0

Using 1 thread vs 2 threads doesn't affect the sharp .020 threshold (although 1
thread is naturally slower, as would be expected.)

These are the message statistics for 3 renders at different rad 'brightness'
levels; the .020 render shows some *wild* increases in the rad numbers...

For my NORMAL rad render (brightness .7)---

Radiosity samples calculated:              652 (0.12 %)
  discarded due to low quality:              4
  retained for re-use:                     648
Radiosity samples reused:               554819
Radiosity sample rays shot:              18518
Radiosity octree nodes:                    350
Radiosity octree samples/node:            1.85
Radiosity blocks examined:           110415486
Radiosity blocks passed test 0:      110415486 (100.00 %)
Radiosity blocks passed test 1:       48096790 (43.56 %)
Radiosity blocks passed test 2:       35244548 (31.92 %)
Radiosity blocks passed test 3:       11033876 (9.99 %)
Radiosity blocks passed test 4:        6664283 (6.04 %)
Radiosity blocks passed test 5:        6448266 (5.84 %)
Radiosity blocks rejected:           103967220 (94.16 %)
----------------------------------------------------------------------------
Radiosity Depth 0 calculated:              413 (0.08 %)
Radiosity Depth 0 reused:               542072
Radiosity Depth 0 rays shot:             14455
----------------------------------------------------------------------------
Radiosity (final) calculated:               59 (0.01 %)
Radiosity (final) reused:               544181
Radiosity (final) rays shot:              2047
----------------------------------------------------------------------------
  Pass     Depth 0    Depth 1           Total
----------------------------------------------------------------------------
  1            133        169             302
  2            222         69             291
  Final         58          1              59
----------------------------------------------------------------------------
  Total        413        239             652
  Weight     0.182      0.061
//----//-----//----//-----//----//-----------

At .021 rad 'brightness'---not much change ...

Radiosity samples calculated:              488 (0.09 %)
  discarded due to low quality:              2
  retained for re-use:                     486
Radiosity samples reused:               551113
Radiosity sample rays shot:              15532
Radiosity octree nodes:                    194
Radiosity octree samples/node:            2.51
Radiosity blocks examined:           106617093
Radiosity blocks passed test 0:      106617093 (100.00 %)
Radiosity blocks passed test 1:       45451542 (42.63 %)
Radiosity blocks passed test 2:       33397572 (31.32 %)
Radiosity blocks passed test 3:       10591487 (9.93 %)
Radiosity blocks passed test 4:        6467663 (6.07 %)
Radiosity blocks passed test 5:        6245374 (5.86 %)
Radiosity blocks rejected:           100371719 (94.14 %)
----------------------------------------------------------------------------
Radiosity Depth 0 calculated:              402 (0.07 %)
Radiosity Depth 0 reused:               542083
Radiosity Depth 0 rays shot:             14070
----------------------------------------------------------------------------
Radiosity (final) calculated:               58 (0.01 %)
Radiosity (final) reused:               543434
Radiosity (final) rays shot:              2012
----------------------------------------------------------------------------
  Pass     Depth 0    Depth 1           Total
----------------------------------------------------------------------------
  1            130         73             203
  2            215         12             227
  Final         57          1              58
----------------------------------------------------------------------------
  Total        402         86             488
  Weight     0.182      0.002
//----//-----//------//----//-----//----------------

At the .020 brightness 'threshold'---

Radiosity samples calculated:            29460 (5.43 %)
Radiosity samples reused:               513025
Radiosity sample rays shot:            1031100
Radiosity octree nodes:                     24
Radiosity octree samples/node:         1227.50
Radiosity blocks examined:          6329956857
Radiosity blocks passed test 0:     6329956857 (100.00 %)
Radiosity blocks passed test 1:      627510814 (9.91 %)
Radiosity blocks passed test 2:      627510814 (9.91 %)
Radiosity blocks passed test 3:      495632471 (7.83 %)
Radiosity blocks passed test 4:      486380116 (7.68 %)
Radiosity blocks passed test 5:      468726634 (7.40 %)
Radiosity blocks rejected:          5861230223 (92.60 %)
----------------------------------------------------------------------------
Radiosity Depth 0 calculated:            29460 (5.43 %)
Radiosity Depth 0 reused:               513025
Radiosity Depth 0 rays shot:           1031100
----------------------------------------------------------------------------
Radiosity (final) calculated:            29009 (5.35 %)
Radiosity (final) reused:               512763
Radiosity (final) rays shot:           1015315
----------------------------------------------------------------------------
  Pass     Depth 0           Total
----------------------------------------------------------------------------
  1            141             141
  2            310             310
  Final      29009           29009
----------------------------------------------------------------------------
  Total      29460           29460
  Weight     0.182


Post a reply to this message

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