POV-Ray : Newsgroups : povray.general : povray has problems with this nonsense code Server Time
25 Dec 2024 14:29:07 EST (-0500)
  povray has problems with this nonsense code (Message 1 to 1 of 1)  
From: Zeger Knaepen
Subject: povray has problems with this nonsense code
Date: 16 May 2006 10:30:12
Message: <4469e1f4$1@news.povray.org>
-- start code --
#include "functions.inc"
#declare Test=eval_pigment(pigment{granite},<0,0,0>)
#if (eval_pigment=0)
-- end code --

yes, I know the code is nonsense, and that it shouldn't work, but I 
would expect just a parsing-error.  Instead I get a dialog saying:
"The POV-Ray core rendering code threw an unhandled exception.
The backend thread has been shut down and you will not be able to 
perform any further renders.
It is STRONGLY RECOMMENDED that you save your work and exit POV-Ray now.
(Note that if internal structures have been damaged POV-Ray may crash 
immediately after you click OK)"

(when I press OK, the program just stops responding)
(using POV-Ray v3.6.1.icl8.win32)

oh, and MegaPOV 1.1 just exits without saying anything.

just thought I'd mention this

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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