POV-Ray : Newsgroups : povray.general : Spline : Re: Spline Server Time
5 Nov 2024 13:26:35 EST (-0500)
  Re: Spline  
From: ingo
Date: 11 Apr 2003 17:41:18
Message: <Xns935AF1683C0D8seed7@povray.org>
in news:cja### [at] netplexaussieorg Christopher
James Huff wrote: 

> [...] Someone  is working on a patch adding this functionality, but I
> do no know if it has been released yet.
> 

From the MegaPOV docs:

SPLINE_USAGE:
  SPLINE_EVALUATION | SPLINE_MEASUREMENT | SPLINE_ENTRY

SPLINE_EVALUATION:
  #declare Spline_Value = MySpline(Val);
  #declare Spline_Value = MySpline(Val, SPLINE_TYPE);

SPLINE_MEASUREMENT:
  #declare Number_Of_Entries = dimension_size( MySpline );

SPLINE_ENTRY:
  #declare Float_Time_Parameter = MySpline[ Counter ][ 0 ];
  #declare Vector_Value_Of_Entry = MySpline[ Counter ][ 1 ];


Ingo


Post a reply to this message

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