In article <3e973039$1@news.povray.org>,
"Greg M. Johnson" <gregj;-)565### [at] aolcom> wrote:
> Given a spline defined "earlier" in a section of SDL, can the SDL tell you> anything about it: say number of segments??
There is no way to get this information in the official version. Someone
is working on a patch adding this functionality, but I do no know if it
has been released yet.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.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
in news:3e97753a@news.povray.org Greg M. Johnson wrote:
> By this you're saying it was in 0.7 but dropped for 3.5?>
No. It's in MegaPOV 1.0, based on POV-Ray 3.5.
Ingo