POV-Ray : Newsgroups : povray.general : Pretrace and error bound : Pretrace and error bound Server Time
4 Aug 2024 16:12:38 EDT (-0400)
  Pretrace and error bound  
From: Matti Karnaattu
Date: 31 Mar 2003 13:25:04
Message: <web.3e88851777a48294bef0bd7d0@news.povray.org>
From Pov-Ray help:

6.11.11.2.5  error_bound

The error_bound float value is one of the two main speed/quality tuning
values (the other is of course the number of rays shot). In an ideal world,
this would be the only value needed. It is intended to mean the fraction of
error tolerated. For example, if it were set to 1 the algorithm would not
calculate a new value until the error on the last one was estimated at as
high as 100%. Ignoring the error introduced by rotation for the moment, on
flat surfaces this is equal to the fraction of the reuse distance, which in
turn is the distance to the closest item hit. If you have an old sample on
the floor 10 inches from a wall, an error bound of 0.5 will get you a new
sample at a distance of about 5 inches from the wall.

If I understand this right, we can calculate pretrace block size to match
with error_bound using formula:

  pretrace (_end) = error_bound * minimum_reuse

We have to assume that low_error_factor is one. This pretrace value is
smallest useful pretrace_end value and lower values are waste of time. When
always_sample is set to off this value should be used to get equal detail
when using radiosity always_sample on. Am I correct?

Radiosity samples are distributed evenly if there is one pretrace step. Is
there any use to set pretrace_start to different value from pretrace_end
value?

Matti


Post a reply to this message

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