|
|
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 ;-)
Post a reply to this message
|
|