POV-Ray : Newsgroups : povray.advanced-users : should be normal weighted ? : Re: should be normal weighted ? Server Time
29 Jul 2024 22:30:24 EDT (-0400)
  Re: should be normal weighted ?  
From: Ron Parker
Date: 4 Dec 2000 13:38:39
Message: <slrn92np5i.mrd.ron.parker@fwi.com>
On Mon, 04 Dec 2000 10:20:43 -0800, Josh English wrote:
>Using Warps read me file for his mesh smoother, I find that normalizing
>the normal vectors of each triangle, then averaging them, works the
>best. Of course, if you are using the vcross command to find your
>normals, remember that the length of the resultant vector has a length
>of the dot product, which will be at it's maximum when the vectors are
>orthogonal (ie, 90 degrees apart).

It's not the same as the dot product.  The length of the cross product
vector is A*B*sin(t) and the dot product is A*B*cos(t).

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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