POV-Ray : Newsgroups : povray.advanced-users : Beziers/Quadratics and Cubics splines Server Time
5 Jul 2024 16:22:21 EDT (-0400)
  Beziers/Quadratics and Cubics splines (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: nemesis
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 4 Jan 2008 10:25:01
Message: <web.477e4faa4698c6af773c9a3e0@news.povray.org>
"Woody" <nomail@nomail> wrote:
> > Hey, some people do it by hand rather than on inkscape! :)
>
>
> I guess I'll have to google "inkscape".

www.inkscape.org

excellent open-source vector drawing program.  Exports beziers as povray prisms.


Post a reply to this message

From: Tim Attwood
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 4 Jan 2008 17:19:03
Message: <477eb0d7@news.povray.org>
>> > Hey, some people do it by hand rather than on inkscape! :)
>>
>>
>> I guess I'll have to google "inkscape".
>
> www.inkscape.org
>
> excellent open-source vector drawing program.  Exports beziers as povray 
> prisms.
>
I like Spilin Editor for simple cubic splined lathes and prisms.
http://www.flashnet.it/users/fn027571/spil/main.html


Post a reply to this message

From: Woody
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 15 Feb 2008 07:35:00
Message: <web.47b586da4698c6af94e61a50@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:
> >> > Hey, some people do it by hand rather than on inkscape! :)
> >>
> >>
> >> I guess I'll have to google "inkscape".
> >
> > www.inkscape.org
> >
> > excellent open-source vector drawing program.  Exports beziers as povray
> > prisms.
> >
> I like Spilin Editor for simple cubic splined lathes and prisms.
> http://www.flashnet.it/users/fn027571/spil/main.html

But Still,, some of us like the manual control without using specialized
editors.


Post a reply to this message

From: nemesis
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 15 Feb 2008 13:50:51
Message: <47b5df0b$1@news.povray.org>
Woody wrote:
> But Still,, some of us like the manual control without using specialized
> editors.

yeah, like wasting time in trial-and-error steps entering lots of points 
by hand as well as the always annoying internal points in the lathe... I 
find more fun to program in Brainf*ck...


Post a reply to this message

From: Tim Attwood
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 17 Feb 2008 17:17:29
Message: <47b8b279$1@news.povray.org>
> yeah, like wasting time in trial-and-error steps entering lots of points 
> by hand as well as the always annoying internal points in the lathe... I 
> find more fun to program in Brainf*ck...

To be fair I must admit that sometimes I have done this manually
for cubic splines by sketching a profile onto graph paper then
entering the data. It's not really that hard to come up with a couple
extra control points when the rest are on the curve.

Bezier curves are a different matter, it's very difficult to visuallize
where all the control points should be without some feedback,
at least for complex curves. For simple curves they're just
tangent to the normal, with the magnitude controlling the flatness,
that's OK manually if the normal is along an axis.

There's really two ways to go about making a scene, one is
to do sketches on paper (or mentally if you can visualize well),
then try to make your scene match. Somethime text entry is a
fast way to put your picture into SDL.

The other method is to create your scene on the computer in
the first place, and modify it until it looks good. A GUI can
make this method fast, since it helps visualize the scene.


Post a reply to this message

From: Woody
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 31 May 2008 23:45:01
Message: <web.48421a1b4698c6af4ed7a4510@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> "Woody" <nomail@nomail> wrote:
> > Can someone please explain why Quadratics and Cubic splines are even necessary?
>
> AFAIK they are simple to specify:  you just specify the in-between points,
> rather than specifying the control points as well as is the case with bezier
> splines.  The bezier spline requires 2 control points for each point specified
> while in quadratic and cubic they are considered as the next and previous
> points.
>
> Hey, some people do it by hand rather than on inkscape! :)

That's the best way in my opinion since I'm bit of povray purist. It would be
nice if beziers were included as options in features where they are not
currently available (such as spherical sweeps), since beziers and linear
splines are alot easier to visualize (in my insignifigant opinion for what
little change that is worth). And since beziers require a lot less points than
a linear spline that looks otherwise identical, it seems to make sense.

Any chance of these getting into future POV Ray versions?


Post a reply to this message

From: Blue Herring
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 2 Jun 2008 12:06:22
Message: <48441a7e$1@news.povray.org>
Woody wrote:
> That's the best way in my opinion since I'm bit of povray purist. It would be
> nice if beziers were included as options in features where they are not
> currently available (such as spherical sweeps), since beziers and linear
> splines are alot easier to visualize (in my insignifigant opinion for what
> little change that is worth). And since beziers require a lot less points than
> a linear spline that looks otherwise identical, it seems to make sense.
> 
> Any chance of these getting into future POV Ray versions?

I'm not privy to why they aren't built into POV-Ray, but I have just 
recently put together a macro that creates a sphere sweep-like object 
along a bezier spline (including interpolation of radii).  I was 
planning on putting it up in the object collection with a set of macros 
sometime, but I can post it by itself sooner if there's any interest.

I've also been pondering how best to create a standalone spline-like 
macro using the same method.

-- 
-The Mildly Infamous Blue Herring


Post a reply to this message

From: Doctor John
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 2 Jun 2008 14:40:48
Message: <48443eb0@news.povray.org>
Blue Herring wrote:
> 
> I'm not privy to why they aren't built into POV-Ray, but I have just
> recently put together a macro that creates a sphere sweep-like object
> along a bezier spline (including interpolation of radii).  I was
> planning on putting it up in the object collection with a set of macros
> sometime, but I can post it by itself sooner if there's any interest.
> 

There's definitely interest :-)

John

-- 
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.


Post a reply to this message

From: Blue Herring
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 6 Jun 2008 11:02:53
Message: <4849519d@news.povray.org>
Doctor John wrote:
> There's definitely interest :-)

That's nice to hear :)  I've actually finished up this version of the 
package its in so I've posted the whole thing to the object collection:
http://lib.povray.org/searchcollection/index2.php?objectName=PointArrays&version=1.0.0&contributorTag=Blue%20Herring
I've also posted a sample image (the same as in the collection) to p.b.i.

The macro that does the bezier sphere_sweep is called PA_Bezier_Sweep. 
If you try it or any other macro in the package any feed back is both 
welcome and appreciated :)

-- 
-The Mildly Infamous Blue Herring


Post a reply to this message

From: Doctor John
Subject: Re: Beziers/Quadratics and Cubics splines
Date: 6 Jun 2008 11:07:18
Message: <484952a6@news.povray.org>
Blue Herring wrote:
> Doctor John wrote:
>> There's definitely interest :-)
> 
> That's nice to hear :)  I've actually finished up this version of the
> package its in so I've posted the whole thing to the object collection:
>
http://lib.povray.org/searchcollection/index2.php?objectName=PointArrays&version=1.0.0&contributorTag=Blue%20Herring
> 
> I've also posted a sample image (the same as in the collection) to p.b.i.
> 
> The macro that does the bezier sphere_sweep is called PA_Bezier_Sweep.
> If you try it or any other macro in the package any feed back is both
> welcome and appreciated :)
> 
Got it. Many thanks

John

-- 
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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