POV-Ray : Newsgroups : povray.general : normals function : Re: normals function Server Time
3 Aug 2024 16:20:28 EDT (-0400)
  Re: normals function  
From: Warp
Date: 11 Jan 2004 20:31:17
Message: <4001f8e5@news.povray.org>
Christopher James Huff <cja### [at] earthlinknet> wrote:
> Anyway, that means acos(A.x) means the same thing as acos(vdot(A, x)): 
> the angle in radians between the vector and the x axis.

  Only if A is a unit vector. (If it isn't, you need to normalize
it first.)

-- 
#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.