POV-Ray : Newsgroups : povray.newusers : Gift wrapping..... : Re: Gift wrapping..... Server Time
5 Sep 2024 12:23:08 EDT (-0400)
  Re: Gift wrapping.....  
From: Josh English
Date: 2 Jan 2001 15:35:11
Message: <3A523BA6.4ECB495C@spiritone.com>
That's a very good idea, but not one that I've been able to implement
easily.... I suppose a macro that takes the points of one spline and
spins them around... wait... I can do it. I have the code... I just need
the time.

Josh

Mikkel wrote:

> In article <3A51FFBF.89A0A30A@spiritone.com>, "Josh English"
> <eng### [at] spiritonecom> wrote:
>
> >
> > My bezier.inc file can do this in a very limited way:
> >
> > http://www.spiritone.com/~english/cyclopedia/include/bezier.inc
> >
> > And you would want to create a simple bezier spline by creating an
> > array of four points
> >
> > #declare RibbonA = array [4] { 4 vectors }
> > #declare RibbonB = MoveSpline(RibbonA,some vector)
> >
> > ConnectSmooth(RibbonA,RibbonB)
>
> Thanks,
>
> But what about twists?
>
> Maybe one spline to define one side of the ribbon and one spline to
> control rotation?
>
>          Mikkel

--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.