|
![](/i/fill.gif) |
Are you defining the Helix by rotation or by sin and cos? I have
written a function to wrap a Helix around a Helix using sins and cos, so
I think I should be able to do what you are asking if I understand
correctly. Now, do you want the #macro to define one point/vector, or a
whole series of points/vectors... Actually, that is an important
destinction... you want the VECTOR right? The vector from the axis of
the object being wrapped around... hmmm... um... let me look at the
Reorient #macro....I can give you the points...then the vector would be
the difference of the two points right? That is what you want? That
value?
Steve
sorry if I am being dense...
Peter Popov wrote:
>
> I am following myself here, as it seems I didn't state the problem
> clearly enough. What I need is a #macro that works like the "Reorient"
> #macro on #Macroscope, but is used with a vector. Why?
>
> Suppose you have a point A rotating around the origin in the xz
> plane.Move the poiont up at the same time and you get a helix. What I
> want to do is a helix whose axis is defined by a function (a #macro,
> actually), so that it can be coiled aroind a circle, sine wave, or
> whatever else. How?
>
> Now let t be the variable of which the coordinates of A (x and z only,
> y=0) and the helix axis are functions A(t) and H(t) respectively. What
> I want to do is calculate A(t) and then reorient it along dH(t)/dt and
> then rtanslate it to H(t). I need the coordinates of the object, not
> the actual object transformed by a matrix, because I need them for
> texture uv mapping (that's the whole point).
>
> With these things cleared out (I hope), can anyone help me? I will
> really appreciate it.
>
> Peter
Post a reply to this message
|
![](/i/fill.gif) |