POV-Ray : Newsgroups : povray.beta-test : crash with some boxes /infinite boxes : Re: crash with some boxes /infinite boxes Server Time
2 Nov 2024 07:23:52 EDT (-0400)
  Re: crash with some boxes /infinite boxes  
From: Mike Williams
Date: 5 Jan 2002 23:00:26
Message: <T3MjCGANu8N8Ewhv@econym.demon.co.uk>
Wasn't it KalleK who wrote:
>Hi!
>
>I'm a bit puzzled by this one:
>If you render the scene below, win98 gives me the typical crash-dialog (this
>application will be closed ...). In fact, povray is still running (creating
>boundingslabs) and reacts (you can use the editor...
>Furthermore it sais:
>"Scene contains 299 frame level objects; 44 infinite"
>"Reallocing Finite to 765"
>I don't have infinite objects, just boxes. And I don't know what the second
>sentence means.

I confirm all this, but note:-

The editor is still running when the renderer has crashed, but it
doesn't receive any status updates from the dead renderer, so it has no
way of knowing that the renderer isn't still creating bounding slabs.
This always happens when the renderer crashes.


I notice that POV considers an unrotated box to be "infinite" if it is
larger than 2714 pov-units. E.g.
     #local G = 2715;
     box {-G/2,G/2}
Is counted as an infinite object.

Thus, if you comment out the "rotate y*Rotater" line from KalleK's
scene, you get
     Scene contains 299 frame level objects; 274 infinite.
since all the boxes larger than 2714 are counted as infinite.


Now, 230 of these boxes are *not* considered infinite. This seems to be
related to the rotation. E.g. the largest box is
   #local G = 17791297395961415000000000000000000000000000;
   #local Rotater = 10728;
   box {-G/2,G/2 rotate y*Rotater}
Is not counted as infinite


A simpler scene, directly using the calculated values from KalleK's
scene, that exhibits the crash. (With only 10 boxes there's no crash)

#local G = 17791297395961415000000000000000000000000000;
#local Rotater = 10728;

box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}
box {-G/2,G/2 rotate y*Rotater}

camera { location <0,5,0> look_at 0}

light_source { <0,1,-1>*20 color 1}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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