POV-Ray : Newsgroups : povray.newusers : Can povray ignore errors in scene definitions? : Re: Can povray ignore errors in scene definitions? Server Time
29 Jul 2024 18:28:10 EDT (-0400)
  Re: Can povray ignore errors in scene definitions?  
From: Alain
Date: 4 Jun 2005 10:06:17
Message: <42a1b559$1@news.povray.org>
kurtz le pirate nous apporta ses lumieres en ce 2005-06-04 06:17:
> In article <42a0ccc8$1@news.povray.org>, "Slime" <fak### [at] emailaddress> 
> wrote:
> 
> 
>>>>Can I tell povray to ignore such an invalid cylinder def?
>>>
>>>I don't think so. If you're generating the cylinder automatically, you'll
>>>probably have to use an #if to avoid creating it in the degenerate case. =(
>>>
>>>- Slime
>>>[ http://www.slimeland.com/ ]
> 
> 
> i agree slime but, if cylinder like this is generated automatically, i 
> think there are some problems into the "generator" :)))
In that case, POV Ray should issue a warning and continue, not stop with an error. If
you have a 
degenerate triangle, you get a warning and the parsing proceed. If you get a
degenerate bounding 
box, you get a warning and parsing proceed. That last one hapened to me while making a
macro.
The behaviour I expect: there is a degenerate <anything>, issue a warning, completely
ignore that 
element, proceed with the rest of the scene.

Alain


Post a reply to this message

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