POV-Ray : Newsgroups : povray.general : Calculating normals : Re: Calculating normals Server Time
10 Aug 2024 11:27:07 EDT (-0400)
  Re: Calculating normals  
From: Remco de Korte
Date: 1 Jan 2000 11:49:45
Message: <386E2FAB.E641FD10@xs4all.nl>
Nieminen Juha wrote:
> 
> Remco de Korte <rem### [at] xs4allnl> wrote:
> : I know how to normalize a vector (as you describe), i _don't_ know
> hot
> : to calculate VCROSS (I mistook it for caclulating the average).
> : So, again: how to calculate a normal?
> 
>   The cross-product of two vectors <x1,y1,z1> and <x2,y2,z2> can be
> calculated this way:
> 
> |  i  j  k |
> | x1 y1 z1 | = (y1*z2-y2*z1)i + (x2*z1-x1*z2)j + (x1*y2-x2*y1)k
> | x2 y2 z2 |
> 
> ie:
> 
>   <y1*z2-y2*z1, x2*z1-x1*z2, x1*y2-x2*y1>
> 
> --
> 

Thanks! 
Actually I already found the information I needed just a couple of
minutes ago.

Where?

In your mesh-smoother 8)

Remco


Post a reply to this message

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