POV-Ray : Newsgroups : povray.general : Parse Error: Degenerate cylinder : Parse Error: Degenerate cylinder Server Time
3 Aug 2024 08:15:33 EDT (-0400)
  Parse Error: Degenerate cylinder  
From: Florian Brucker
Date: 28 Mar 2004 10:05:22
Message: <4066e9b2$1@news.povray.org>
I just wanted to ask if it is possible to change the parse time error

"Parse Error: Degenerate cylinder, base point = apex point."

into a simple warning. The same goes for a mesh without triangles. I 
don't see why the render has to be stopped in such a case. IMHO it is 
good to inform the user about it, but rendering could go on, couldn't it?

I ran into this in an object generating macro and of course I could 
check the points before creating the cylinder, but that would really 
increase parse time. And no, I don't want this changed because I'm too 
lazy to check the points, but because I think the current behaviour is 
unnecessarily strict (And it would be a really small change, too).

Spring is coming!
Florian


Post a reply to this message

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