POV-Ray : Newsgroups : povray.beta-test : Small scene causing beta 14 to exit on completion ... : Small scene causing beta 14 to exit on completion ... Server Time: 25 Sep 2017 00:35:46 GMT
  Small scene causing beta 14 to exit on completion ...  
From: Mike Andrews
Date: 18 Aug 2006 11:15:00
Hi Folks,

I've posted a similar message on the Windows group about a small, apparently
sensible scene, throwing an unhandled exception.

I've now tried a very similar scene on beta 14, causing it to exit on
completion. The scene is appended below. I can see nothing wrong with the
scene code and I'd appreciate knowing why it fails.

System: 933MHz PIII, 512Mb, Win XP Pro SP2, PoV-Ray
v3.7.0.beta.14.icl8.win32

Bye for now,

Mike Andrews.

// --- code starts ---

#declare camPos = 5*<-0.1,6,-5>;

camera{
  ultra_wide_angle
  up y
  right x*4/3
  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;
#declare C = 0; #while (C < 10)
  object {
    Ill scale Scl rotate -Rot*y
    translate <Cen,0,Phi*(1-Cen)>-<0.5,0,Phi/2>
    rotate 90*y
    scale 20
    pigment { rgb 1 }
    finish { diffuse 0 ambient 1 }
  }
  #declare Scl = Scl/Phi;
  #declare Rot = Rot+90;
#declare C = C + 1; #end

// --- code ends ---


Post a reply to this message

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