POV-Ray : Newsgroups : povray.advanced-users : Use Slope pattern for Planting distribution? : Re: Use Slope pattern for Planting distribution? Server Time
6 Oct 2024 15:21:02 EDT (-0400)
  Re: Use Slope pattern for Planting distribution?  
From: Thomas de Groot
Date: 15 Dec 2006 02:57:35
Message: <4582556f@news.povray.org>
"Warp" <war### [at] tagpovrayorg> schreef in bericht 
news:4581a57f@news.povray.org...
>
>  Despite the similarity in the names of the terms, a normal vector and a
> normalized vector talk about two different things:
>
>  - A normal vector is a vector perpendicular to a surface (or line in 2D)
> at a certain point.
>  - A normalized vector is a vector of length 1.
>
>  Thus a normalized normal vector is a normal vector of length 1.
>
>  The dot product returns values between 0 and 1 only if the two vectors
> are normalized.
>  (More specifically, the dot product is the product of the lengths of
> the two vectors and the cosine of the angle between them. Naturally if
> both lengths are 1, the result is just the cosine.)
>

Thanks Warp! This makes it clear for me. Perhaps it would be a suggestion to 
add something like this in the documentation? I think that would be useful.

Thomas


Post a reply to this message

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