William F Pokorny <ano### [at] anonymousorg> wrote:
> Have you tested the on curve point generation for substantially concave
> bitmaps - 'C' like shapes?
I'm going to attempt a solution for arbitrary shapes.
> How about bitmaps with holes - 'O' like shapes?
Holes are not a problem. The prism object already supports holes and the code
I've written so far specifically supports this feature.
> As for control points and alignment with results from other tools wonder
> if the bezier_spline might not be the way to go.
Agreed, but bezier curves are FAR beyond my math skills. It occurred to me that
the Inkscape code is open source and I could study how it vectorizes bitmaps,
but once again the math and coding are way out of my league.
> Aside 2: There is in the POV-Ray objects collection off the main page a
> PointArrays package by bherring/BlueHerring (Matthew Goulet) for
> manipulating curves. One of the macros is PA_Linear_To_Bezier() and
> there is a demo for it in: pa_linear_to_bezier_demo.pov.
>
> Aside 3: There is too an interesting general polygon / path manipulation
> tool in : http://www.angusj.com/delphi/clipper.php which I thought might
> be useful to - even as a general in POV-Ray SDL set of features.
These might be helpful. Thanks for passing this info on.
Regards,
Dave Blandston
Post a reply to this message
|