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