POV-Ray : Newsgroups : povray.windows : PoV 3.6 throwing unhandled exception ... : Re: PoV 3.6 throwing unhandled exception ... Server Time
18 May 2024 14:38:32 EDT (-0400)
  Re: PoV 3.6 throwing unhandled exception ...  
From: Alain
Date: 19 Aug 2006 12:16:49
Message: <44e73971$1@news.povray.org>
Mike Andrews nous apporta ses lumieres en ce 15/08/2006 09:36:
> Hi Folks,
> 
> Can someone please give me a sanity check?
> 
> I have a simple (section of a) scene which either stops with an out of
> memory error while building slabs or throws an unhandled exception
> depending on minor variations.
> 
> I can not see what the problem is.
> 
> System: 933MHz PIII, Win XP Pro SP2, 512Mb.
> 
> Thanks for any ideas,
> 
> Mike Andrews.
> 
> // --- code starts ---
> 
> #declare camPos = 5*<-0.1,6,-5>;
> 
> camera{
>   ultra_wide_angle
>   up y
>   right x*image_width/image_height
>   location camPos
>   look_at  0
>   angle 50
> }
> 
> #declare Phi=(sqrt(5)+1)/2;
> #declare rPhi=2-Phi;
> 
> #declare Cen = (Phi-1)/(2*Phi-1);
> 
> #declare Ill = box {
>   <0.1,-rPhi-0.1,-0.01>,<0.9,-0.1,0.01>
>   translate <-Cen,0,-Phi*(1-Cen)>
> }
> 
> #declare Scl = 1;
> #declare Rot = 0;
> union {
>   #declare C = 0; #while (C < 10)
>     object { Ill scale Scl rotate -Rot*y }
>     #debug concat("object ", str(C,0,0),"n")
>     #declare Scl = Scl/Phi;
>     #declare Rot = Rot+90;
>   #declare C = C + 1; #end
>   translate <Cen,0,Phi*(1-Cen)>-<0.5,0,Phi/2>
>   //rotate 90*y
>   //scale 20
>   pigment { rgb 1 }
>   finish { diffuse 0 ambient 1 }
> }
> 
> // --- code ends ---
> 
> 
> 
Worked for me as is. Same crash as you after changing to (c<11)
And now, my animation is broken again! Animation was working OK before that 
test, run the test, can't do an animation any longer.

-- 
Alain
-------------------------------------------------
"If you see me running, try to keep up."
       ...Back of bomb technician's shirt


Post a reply to this message

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