POV-Ray : Newsgroups : povray.general : Calculating the normals of a triangle : Re: Calculating the normals of a triangle Server Time
5 Aug 2024 12:22:10 EDT (-0400)
  Re: Calculating the normals of a triangle  
From: Warp
Date: 11 Sep 2002 10:27:18
Message: <3d7f52c2@news.povray.org>
Tor Olav Kristensen <tor### [at] hotmailcom> wrote:
>>dot-product of the two edges of a triangle gives a normal vector which
>  ^^^
> I guess you meant to write 'cross-product' here ;)

  Yes.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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