POV-Ray : Newsgroups : povray.documentation.inbuilt : Corrections to documented media defaults. : Re: Corrections to documented media defaults. Server Time
20 Jun 2021 22:06:45 EDT (-0400)
  Re: Corrections to documented media defaults.  
From: Alain
Date: 16 Feb 2018 13:43:48
Message: <5a872664$1@news.povray.org>
Le 18-02-16 à 07:56, William F Pokorny a écrit :
> On 02/15/2018 07:36 PM, Alain wrote:
>> Le 18-02-15 à 13:30, William F Pokorny a écrit :
>>> On the page:
>>>
>>> http://wiki.povray.org/content/Reference:Media#Index_Entry_media_types
>>>
>>> samples      : Min 1, Max 1
>>>
>>> should be:
>>>
>>> samples      : Min 10, Max 10
>>>
>>> given we otherwise have the >=3.5 method 3 defaults documented.
>>>
>>> Bill P.
>>
>> It should be "samples 10"
>> min and max are only used with method 1 and 2.
> 
> Understand what you are saying, but here we are documenting what POV-Ray 
> is setting as the default if the language level seen by the parser is >= 
> 3.5. This override happens on seeing the media keyword. A user can, for 
> example, still specify method 2 in that media and then knowing that 
> default max value is 10 matters.
> 
> Aside: I'm with you in not understanding why the parser sets the max 
> value for language level >= 3.5 for method 3, but it does. If it didn't 
> we'd need to leave Max 1 for the same reason - it helps users understand 
> what defaults are when those defaults apply to the method they are using.
> 
> Bill P.

Then, the various defaults should be given for each sampling methods.

Default :
Sampling method = 3
samples 10 (if you use two values, the second will be silently ignored)
intervals 1 (Don't change as it drastically increase rendering time)
confidance, variance are not used.

Optional methods are 1 and 2. For those the defaults are :
samples min 1 max 1
intervals 10
...


Post a reply to this message

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