POV-Ray : Newsgroups : povray.binaries.images : Strange results when averaging normals on a spherical mesh2 : Re: Strange results when averaging normals on a spherical mesh2 Server Time
8 Aug 2024 14:24:19 EDT (-0400)
  Re: Strange results when averaging normals on a spherical mesh2  
From: Jaap
Date: 15 Jun 2005 17:00:00
Message: <web.42b095ffb5960a30a8399d8d0@news.povray.org>
"Jaap" <jws### [at] yahoocom> wrote:
> yes it's fine (i think), as long as the normals you add
> are normalized! (otherwise long normals contribute more
> to the average than shorter normals)
> imagine stacking all normals on top of each other (in 3D),
> you end up with a funy line that can end anywhere, so the
> result will not be normalized by dividing it by the number
> of normals you added together.
> the end of the stack of normals may end op at <0,0,0>, witch
> can't be normalized, because it does not have any direction.
> (like when you average to normals with exactly opposite direction)
you can skip the the divide by n, if you are going to normalize
the resulting vector anyway.
(but your problem may be caused by something else)
jaap. (again)


Post a reply to this message

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