POV-Ray : Newsgroups : povray.beta-test : Parser Statistics anomaly : Re: Parser Statistics anomaly Server Time
16 May 2024 18:25:36 EDT (-0400)
  Re: Parser Statistics anomaly  
From: clipka
Date: 6 Dec 2012 15:44:07
Message: <50c10397$1@news.povray.org>
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?


Post a reply to this message

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