POV-Ray : Newsgroups : povray.general : How to get spline tangent : Re: How to get spline tangent Server Time
6 Aug 2024 17:00:39 EDT (-0400)
  Re: How to get spline tangent  
From: Grey Knight
Date: 21 Feb 2002 05:54:22
Message: <3C74D1D3.35DE926B@namtar.qub.ac.uk>
To get the tangent at some point A on your spline, get the value of the
spline at A and some other point B which is very close to A. The values
you get we call spline(A) & spline(B).
The vector T=spline(B)-spline(A) gives the direction at the point A if B
is very close to A on the spline (check vlength(T) to find out how close
they are)
Don't forget to translate your object to spline(A) after aligning it
along T, since T is only a direction.

-- 
signature{
  "Grey Knight" contact{ email "gre### [at] yahoocom" }
  site_of_week{ url "http://digilander.iol.it/jrgpov" }
}


Post a reply to this message

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