POV-Ray : Newsgroups : povray.general : trace() direction vector : Re: trace() direction vector Server Time
30 Jul 2024 00:29:58 EDT (-0400)
  Re: trace() direction vector  
From: clipka
Date: 2 Apr 2010 07:34:37
Message: <4bb5d64d$1@news.povray.org>
Am 02.04.2010 12:08, schrieb MadKairon:
> If I have thos vectors:
>
> A =<10,10,10>
> B =<5,5,5>
>
>
> and I want to use trace() to trace a ray starting at A in direction to B, how do
> I calculate de direction vector?

#local Direction = (B-A);


Post a reply to this message

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