POV-Ray : Newsgroups : povray.advanced-users : subtle behavior of Spline_Trans() macro in transforms.inc : Re: subtle behavior of Spline_Trans() macro in transforms.inc Server Time
3 Jul 2024 05:15:17 EDT (-0400)
  Re: subtle behavior of Spline_Trans() macro in transforms.inc  
From: Warp
Date: 20 Apr 2009 04:28:23
Message: <49ec3227@news.povray.org>
scott <sco### [at] scottcom> wrote:
> >> To compute a tangent to an arbitrary curve defined as f(t) (the value of 
> >> which
> >> in this case is a vector), you need the derivative f'(t) of that 
> >> function,
> >
> >  I find those two sentences contradictory. First you say that it's
> > impossible, and immediately after you tell how it's done.

> Really? Can a macro in POV SDL calculate the exact mathematical derivative 
> of a function?  I didn't know that.

  Can a macro calculate points on a spline?

  It's simply a question of creating the macro. I don't see the problem.

  (The only situation where it would really be impossible to get an accurate
direction would be if the spline function does *not* have a derivative at all,
as is the case with some functions in mathematics.)

-- 
                                                          - Warp


Post a reply to this message

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