POV-Ray : Newsgroups : povray.advanced-users : For the love of dot products! : Re: For the love of dot products! Server Time
28 Jul 2024 20:20:33 EDT (-0400)
  Re: For the love of dot products!  
From: Warp
Date: 14 Apr 2004 17:34:51
Message: <407dae7b@news.povray.org>
Daniel Patrick Johnson <zap### [at] hotmailcom> wrote:
> If D is actually a unit vector like it is supposed to be 

  It isn't. The macro does not assume that the direction vector of the
ray (D) is a unit vector, and it usually isn't.

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