POV-Ray : Newsgroups : povray.general : "Feature" with smooth_triangle : "Feature" with smooth_triangle Server Time
5 Nov 2024 15:53:05 EST (-0500)
  "Feature" with smooth_triangle  
From: John VanSickle
Date: 6 Mar 2003 14:13:39
Message: <3E679DE7.6CF6C2A2@hotmail.com>
If the same normal vector is supplied for all three vertices, POV-Ray
appears to completely ignore them, treats the triangle as a flat
triangle, and assigns the default normal.

I ran into this while testing my update of the Subdivision Surface
include; I'm expanding it to include quadrilateral faces, which I'm
implementing with a pair of triangles.  When the four points of a
quad face are not co-planar, I still want them to have a uniform normal
across the face so that the triangles don't show.  The behavior
mentioned above defeats this aim.

This appears to be an optimization that goes too far. I found a
work-around.

Regards,
John


Post a reply to this message

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