Cubic spline path (was: rotation in 3D)




"I.N. Galidakis" <morpheus@xxxxxxxxxxxx> wrote in message
news:1207847029.401596@xxxxxxxxxxx
Steven wrote:
"I.N. Galidakis" <morpheus@xxxxxxxxxxxx> wrote in message
news:1207844007.909004@xxxxxxxxxxx
[...]

Rotating the camera on a circle around the y-axis for example (and
looking at
some fixed location like 0 above), is equivalent to rotating around
the y-axis.

[...]


This only works if there is only 1 object to rotate.

Well, your original question asked for one object:

True :-)


My scene has a
few dozens of objects, each with its own rotation, along a spline
path. AAMOF the rotation should follow the spline's curvature.

I don't understand what you mean by "along a spline path", but did you try
the
macro "rotate"?


I'm trying to find out what arguments I actually have to pass to "rotate"
<g>

In POV-ray you define the cubic spline as a set of control points as usual.
You can then get a point along the spline by passing it a value between 0
(for the starting point) and 1 (ending point). Unfortunately those points
are not evenly spaced. I don't know if there is an easy way to find evenly
spaced points on a cubic spline.

Steven



.



Relevant Pages

  • Re: Interpolation : value at endpoint.
    ... beam, forced to pass through a set of fixed points. ... The name spline itself goes back to this same thin ... The traditional cubic spline is a C2 ... knot and the penultimate knot, ...
    (comp.soft-sys.matlab)
  • Re: Interpolation : value at endpoint.
    ... interpolation problematics at the boundaries of interpolation ... The name spline itself goes back to this same thin ... The traditional cubic spline is a C2 ... knot and the penultimate knot, ...
    (comp.soft-sys.matlab)
  • Re: spline interpolation and
    ... I use an apllication called Praat to extract pitch and energy ... to "fit" the data but this seems go give me a great ... A cubic spline is actually a mathematical ...
    (comp.soft-sys.matlab)
  • Re: spline interpolation and
    ... I use an apllication called Praat to extract pitch and energy ... to "fit" the data but this seems go give me a great approximation ... spline seems to match this with a few exception. ... A cubic spline is actually a mathematical ...
    (comp.soft-sys.matlab)
  • Re: splines
    ... >>The first (I'll call cubic spline) is the one described in Numerical ... >>Are these two simply different representation of the same concept? ... How do I go from the interpolation cubic spline to the B-spline ...
    (sci.math.num-analysis)