POV-Ray : Newsgroups : povray.general : Degenerate triangles. : Re: Degenerate triangles. Server Time
9 Aug 2024 17:20:17 EDT (-0400)
  Re: Degenerate triangles.  
From: Warp
Date: 5 Jun 2000 05:57:05
Message: <393b7970@news.povray.org>
Simen Kvaal <sim### [at] studentmatnatuiono> wrote:
: I wondered wether anyone know how to quickly delete degenerate triangles [I
: assume that means triangles with two or more coincident vertices.] from an
: .inc-file?

  Using my triangle mesh compressor (you can output in povray format if you
don't want the pcm version).
  It can look for triangles with two or three vertices being the same point
and delete those triangles.

  Btw, I think that povray also considers degenerate those smooth triangles
which have normals pointing to different sides of the triangle. I have to
verify this and add it to the program.

: Does Povray remove the degenerate triangles by itself, or are the triangles
: actually allocated as objects in the scene?

  I think it ignores them (just warning about them).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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