POV-Ray : Newsgroups : povray.general : Calculating normals : Re: Calculating normals Server Time
10 Aug 2024 11:21:59 EDT (-0400)
  Re: Calculating normals  
From: Nieminen Juha
Date: 1 Jan 2000 10:48:15
Message: <386e21bf@news.povray.org>
Remco de Korte <rem### [at] xs4allnl> wrote:
: Thanks for yor help anyway, it might still do the trick (I know how to
: calculate vcross, I'm not too sure about vnormalize for 3D-vectors...)

  Normalizing a 3D-vector is exactly like normalizing a 2D-vector: Divide its
components by the length of the vector.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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