POV-Ray : Newsgroups : povray.general : about #debug : Re: about #debug Server Time
6 Apr 2026 08:13:22 EDT (-0400)
  Re: about #debug  
From: GioSeregni
Date: 3 Apr 2026 10:15:00
Message: <web.69cfcb36f5eb3fcd11f50c6059126100@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "GioSeregni" <gms### [at] hotmailcom> wrote:
> > ...
> > In POV-ray, two main errors often occur, which POV-ray reports. Typically:
> > 1) normals at 0,0,0 in smooth triangles. This means the triangles are actually
> > three vertices in a line (and this entity should be removed).
> > 2) nonexistent triangle (again, this means two vertices coincide).
> > I can use other exchange programs to find these elements and correct them. But
> > could I do this with POV-ray?
> > I've studied the #debug feature a bit, but I don't understand. Is there a way to
> > tell PovRay to generate a file with only the incorrect entities, or to rewrite
> > my file to clean them up?
>
> I think the 'trace' function may be useful to you.
> <wiki.povray.org/content/Reference:Vector_Expressions#Functions>
>
>
> regards, jr.
thanks, I don't know if I am right, but I think I understand that with that
function I can automatically correct rendering errors. Is that right?
I'd like PovRay to intervene by filtering out nonexistent elements INTO my file,
thus saving me from having to filter out all the normals or zero-surface
triangles and recompile its file.
These things happen because with double float sometimes very small values
​​differ from each other and everything is fine, but then, when for
various reasons I happen to work and pass values ​​in single
precision, the problem arises.
I can fix them, but it would be faster if when POV found them he cleaned the
file for me

BR
G.


Post a reply to this message

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