|
|
Le 06/12/2012 16:53, James Holsenback nous fit lire :
> Simple scene:
> ---
> #version 3.7;
>
> camera{ location <0,2,-10> look_at <0,0,0> right
> x*image_width/image_height direction z*1 }
> light_source{ <0,5,-10>,1 rotate y*45 }
>
> global_settings {
> assumed_gamma 1.0
> }
>
> #include "colors.inc"
>
> #declare SkyDome =
> sphere{0, 1 hollow
> texture {
> pigment { srgb 1 }
> finish {
> ambient 0
> diffuse 0.6
> }
> }
> }
>
> object { SkyDome rotate x*0 rotate y*0 scale 5000}
> ---
>
> noticed an oddity with the infinite/finite object count reporting ...
> play with scale of the SkyDome object ... as is it's calling the object
> Infinite?
an object is considered infinite when it is big enough... or rather its
bounding (box) is big enough. How is big computed ? It's a volume. Above
2.0e+10, it's big.
So, a cylinder/cone along an axis could be 10 000 000 long and be finite.
The same on a diagonal of face (49 999 988 518 489 square-unit for the
same length, if I do not fail the computation of the projected length on
the axis) is infinite. Just because the bounding box get promoted to a
big empty box.
your skydome:
radius = 5000, so diameter 10000, in a box that's a volume of 10^12.
Which is bigger than the 2.0e+10.
Post a reply to this message
|
|