POV-Ray : Newsgroups : povray.general : Q: What is a degenerate triangle? : Re: Q: What is a degenerate triangle? Server Time
12 Aug 2024 13:12:19 EDT (-0400)
  Re: Q: What is a degenerate triangle?  
From: Ron Parker
Date: 23 Mar 1999 11:04:25
Message: <36f7bb89.0@news.povray.org>
On Sun, 21 Mar 1999 18:47:47 -0500, david sharp <dsh### [at] interportnet> wrote:
>Now, my question is why does POV-Ray do that? What is wrong with
>one normal pointing 'up' while two point 'down' (or vice versa)?

I guess I should reply to this one, since I submitted the bug 
report that got these classified as degenerate triangles. :)
The problem is, those triangles cause division by zero errors
on Alpha processors.  There is no way to have the normal go 
from "positive" to "negative" without going through zero, so 
there is always a curve on such a triangle where the normal
is undefined.  Since POV always needs a valid normal to compute
shading, that's a bad thing.  

If you want to see the original discussion that caused this, 
you'll have to go back a few months on povray.programming.


Post a reply to this message

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