POV-Ray : Newsgroups : povray.general : Media intervals default? Server Time
3 Aug 2024 16:19:21 EDT (-0400)
  Media intervals default? (Message 1 to 3 of 3)  
From: Severi Salminen
Subject: Media intervals default?
Date: 1 Dec 2003 12:48:53
Message: <3fcb7f05$1@news.povray.org>
Hi!

The povray 3.5 manual states, that the number of intervals in media 
defaults to 10, but I believe it defaults to 1 instead. Is this an error 
in docs or am I missing something? This also causes some problems with 
Moray - basically you can't use interval with value 10.

Example:

box {
     <-10,-2,-10>, <10,10,10>
     pigment {rgb 1}
     interior {
         media {
             scattering {
                 1, rgb 0.055
             }
         intervals 10 // Removing this line _does_ make a difference
         }
     }
     hollow
}

PS. If there is a list of bugs etc. please let me know.

Severi Salminen


Post a reply to this message

From: Slime
Subject: Re: Media intervals default?
Date: 1 Dec 2003 12:53:19
Message: <3fcb800f$1@news.povray.org>
> The povray 3.5 manual states, that the number of intervals in media
> defaults to 10, but I believe it defaults to 1 instead.

The relevant part POV-Ray 3.5 manual was originally written for v3.1, when
method 1 was the only available media sampling method. When it was updated
for 3.5, that section was not made clear that what it was talking about is
no longer the default sampling method - the default is now method 3, and the
documentation mostly talks about method 1. (Discussion about methods 2 and 3
are further down on the same page, I think.)

Add "method 1" to your code and you will probably get the default 10
intervals.

This is an area of the documentation which could be improved to avoid
misunderstandings like this.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Severi Salminen
Subject: Re: Media intervals default?
Date: 1 Dec 2003 13:00:09
Message: <3fcb81a9$1@news.povray.org>
Slime wrote:

>>The povray 3.5 manual states, that the number of intervals in media
>>defaults to 10, but I believe it defaults to 1 instead.
> 
> 
> The relevant part POV-Ray 3.5 manual was originally written for v3.1, when
> method 1 was the only available media sampling method. When it was updated
> for 3.5, that section was not made clear that what it was talking about is
> no longer the default sampling method - the default is now method 3, and the
> documentation mostly talks about method 1. (Discussion about methods 2 and 3
> are further down on the same page, I think.)
> 
> Add "method 1" to your code and you will probably get the default 10
> intervals.
> 
> This is an area of the documentation which could be improved to avoid
> misunderstandings like this.

Thanks for fast answering!

Severi Salminen


Post a reply to this message

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