POV-Ray : Newsgroups : povray.general : Bezier Curve to POV Cubic Spline Conversion : Bezier Curve to POV Cubic Spline Conversion Server Time
14 Aug 2024 05:20:08 EDT (-0400)
  Bezier Curve to POV Cubic Spline Conversion  
From: Anthony C  D'Agostino
Date: 17 Feb 1998 18:17:47
Message: <34ea26fd.0@news.povray.org>
I have a precise bezier curve (from Adobe Illustrator) that I want to turn
into a lathe object for POV-Ray.

I know that a cubic spline takes four points to determine the curve.  A
bezier curve also takes four but it doesn't seem to be implemented in the
same way. The main differences are:

* A bezier curve segment has 2 end points and 2 control points.  The curve
doesn't pass through the control points.
* A cubic spline segment has four points; the curve does pass through all 4.

Is there a simple mathematical way to convert the bezier to the spline?
Maybe there is an unofficial POV version that allows lathe objects to be
described with the coordinates of a bezier curve?


---------------------
Anthony C. D'Agostino
sco### [at] csicom
http://ourworld.compuserve.com/homepages/scorpius
Home of the finest ray-traced puzzles rendered with POV-Ray.


Post a reply to this message

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