POV-Ray : Newsgroups : povray.general : How to get spline tangent : Re: How to get spline tangent Server Time
19 Nov 2024 13:41:34 EST (-0500)
  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.