|
![](/i/fill.gif) |
"Bryan Valencia" <pov### [at] spamgourmet com> wrote:
> I'd like to find a parabolic looping macro, where I can give 2 endpoints and
> a "stretched" length. maybe something like this:
>
>
> #macro loop(P1, P2, Stretched, SegmentCount, SegmentObject)
>
>
> ...where P1 and P2 are the endpoints, StretchedLength is how much "string"
> there is, and the "segments" would be spaced evenly along the spline like
> the links of a chain.
>
>
> This leads me to my next question. Is there a repository of super-cool POV
> macros?
Actually, the Links.inc file by Chris Colefax uses parabolas. The macro from
a few months back was written by Mike Williams. It does use cosh(), but it
is mathematically incorrect. Also, it uses sphere_sweep to make smooth
cables, rather than chains.
I've spent the weekend creating a mathematically correct Chain-making macro.
I'll post preliminary results tonight, if I get the time.
Post a reply to this message
|
![](/i/fill.gif) |