POV-Ray : Newsgroups : povray.newusers : Gift wrapping..... Server Time
28 Nov 2024 11:41:18 EST (-0500)
  Gift wrapping..... (Message 1 to 7 of 7)  
From: Mikkel
Subject: Gift wrapping.....
Date: 2 Jan 2001 11:05:57
Message: <3a51fc65$1@news.povray.org>
Hello everybody!

I'm trying to create something like a 'gift wrapping band' (Not sure what
this is called in English....) tied with a knot.   I have looked at some
spline macro,  but I can't make it work the way I want....

Anybody have any ideas?

Thanks in advance
	Mikkel


Post a reply to this message

From: Josh English
Subject: Re: Gift wrapping.....
Date: 2 Jan 2001 11:19:25
Message: <3A51FFBF.89A0A30A@spiritone.com>
The English word is "ribbon" and you can make simple ones by making a spline,
then duplicating the spline and sliding it away from the first spline, then
connecting the two with triangles.

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)

Please feel free to ask me questions, since my code is not yet commented
(I've been trying for a year or so to do that...)

Josh

Mikkel wrote:

> Hello everybody!
>
> I'm trying to create something like a 'gift wrapping band' (Not sure what
> this is called in English....) tied with a knot.   I have looked at some
> spline macro,  but I can't make it work the way I want....
>
> Anybody have any ideas?
>
> Thanks in advance
>         Mikkel

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


Post a reply to this message

From: ingo
Subject: Re: Gift wrapping.....
Date: 2 Jan 2001 11:21:10
Message: <Xns901DBF254seed7@povray.org>
in <3a51fc65$1@news.povray.org> Mikkel wrote:

>I'm trying to create something like a 'gift wrapping band' (Not sure what
>this is called in English....) tied with a knot.

Look for "Bow" at http://cgi-bin.spaceports.com/~pov/ 
in the catagory "Misc"


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Mikkel
Subject: Re: Gift wrapping.....
Date: 2 Jan 2001 11:27:55
Message: <3a52018b$1@news.povray.org>
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


Post a reply to this message

From: Josh English
Subject: Re: Gift wrapping.....
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

From: Cris Williams
Subject: Re: Gift wrapping.....
Date: 2 Jan 2001 19:27:40
Message: <3A5271C1.4A347186@netscape.net>
I got the big "404" error when I clicked this link. :-(

Cris

ingo wrote:

> in <3a51fc65$1@news.povray.org> Mikkel wrote:
>
> >I'm trying to create something like a 'gift wrapping band' (Not sure what
> >this is called in English....) tied with a knot.
>
> Look for "Bow" at http://cgi-bin.spaceports.com/~pov/
> in the catagory "Misc"
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Ken
Subject: Re: Gift wrapping.....
Date: 2 Jan 2001 21:21:42
Message: <3A528CD4.518FD85@pacbell.net>
ingo wrote:

> Look for "Bow" at http://cgi-bin.spaceports.com/~pov/
> in the catagory "Misc"

Look for "Bow" at http://www.povworld.de/cgi-bin/objects/Misc/

Micha has a new site :)

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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