Cubic spline path (was: rotation in 3D)
- From: "Steven" <steven_504@xxxxxxxxxx>
- Date: Thu, 10 Apr 2008 21:28:44 +0200
"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
.
- Follow-Ups:
- Re: Cubic spline path (was: rotation in 3D)
- From: Steven
- Re: Cubic spline path (was: rotation in 3D)
- References:
- rotation in 3D
- From: Steven
- Re: rotation in 3D
- From: I.N. Galidakis
- Re: rotation in 3D
- From: Steven
- Re: rotation in 3D
- From: I.N. Galidakis
- rotation in 3D
- Prev by Date: Re: New symbolic/numeric/dynamic/intuitive programming language
- Next by Date: Re: Cubic spline path (was: rotation in 3D)
- Previous by thread: Re: rotation in 3D
- Next by thread: Re: Cubic spline path (was: rotation in 3D)
- Index(es):
Relevant Pages
|