POV-Ray : Newsgroups : povray.beta-test : #error bug : Re: #error bug Server Time
30 Jul 2024 22:24:11 EDT (-0400)
  Re: #error bug  
From: Ron Parker
Date: 22 Oct 2001 00:01:35
Message: <slrn9t76h2.oja.ron.parker@fwi.com>
On Sun, 21 Oct 2001 17:15:21 +0200, Thorsten Froehlich wrote:
>In article <3bd2c73b@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
>>   IMHO there's no need to "camouflage" an #error command to look like a
>> POV-Ray error. Make it as different as you need from internal errors;
>
>Ah, finally an interesting suggestion.  This sounds like something that is
>possible to do easily and still avoids the problem of users taking the
>output as a POV-Ray error message.
>
>What do other people think?

I think it's a good idea.  I certainly always assumed that #error would
print what I asked it to before aborting; if it has to put little flashy
warning signs around the error, that's okay, but it should definitely do
what it looks like it does.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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