POV-Ray : Newsgroups : povray.beta-test : Parser Statistics anomaly : Re: Parser Statistics anomaly Server Time
16 May 2024 07:20:15 EDT (-0400)
  Re: Parser Statistics anomaly  
From: James Holsenback
Date: 6 Dec 2012 16:16:54
Message: <50c10b46$1@news.povray.org>
On 12/06/2012 03:44 PM, clipka wrote:
> Am 06.12.2012 19:48, schrieb James Holsenback:
>> On 12/06/2012 01:15 PM, Le_Forgeron wrote:
>>> Le 06/12/2012 17:39, James Holsenback nous fit lire :
>>>>
>>>> play around with the scaling and see when it starts to call it finite
>>>> ;-)
>>>
>>> I don't play... I cheat & I looked at the code.
>>> In parse.cpp, BOUNDS_VOLUME is an inline function from bbox.h which
>>> compute the volume of the bounding box (simple product of height, width
>>> & depth).
>>> INFINITE_VOLUME is the limit to set the infinite flag.
>>> The value of INFINITE_VOLUME is BOUND_HUGE. (parse.cpp)
>>> The value of BOUND_HUGE is 2.0e+10 (configbackend.h)
>>>
>>> So, the sphere is to become finite when the box (true cube) is to have a
>>> volume of 2.0e+10 or less. That's for a side of 2714.4176 (cubic root of
>>> 2.0e+10), so for a radius of 1357.2088
>>
>> Yes ... obviously the program is catching something, I guess I'm
>> challenging /what/ it's catching. Again I'm encouraging you to /play/
>> around with the scaling in my example and note /when/ it starts calling
>> the object finite ;-)
>
> So, what are the results of /your/ playing around that makes you think
> we should bother to try it as well?
>

LOL ... starting with the simple scene it does not report finite until 
scale is set to 1000


Post a reply to this message

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