POV-Ray : Newsgroups : povray.advanced-users : smooth_triangle normals : Re: smooth_triangle normals Server Time
23 Apr 2024 05:44:41 EDT (-0400)
  Re: smooth_triangle normals  
From: Leroy
Date: 30 Sep 2020 18:50:00
Message: <web.5f750906af8e23f9279beb8e0@news.povray.org>
"
> When calculating the normals, do I use the remaining two triangle vertices, or
> the orthogonal edge vectors of the square?
You lost me here with the "orthogonal edge vectors of the square".
I would always use triangle vertices.

> Do I normalize the vectors before using vcross()?
I never do.

> Do I normalize the resulting vertex normal vectors?
Yes! Well, I usually do mesh2, I add all the normals for a point togather then
normalize that.

How are you filling the smooth_triangle.
From the sound of it, a normal and a triangle values may be switched.

Hope this helps some.

Have Fun!


Post a reply to this message

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