POV-Ray : Newsgroups : povray.binaries.images : Bitmap To Prism Utility (Work In Progress) : Re: Bitmap To Prism Utility (Work In Progress) Server Time
7 Nov 2024 02:27:28 EST (-0500)
  Re: Bitmap To Prism Utility (Work In Progress)  
From: William F Pokorny
Date: 19 Dec 2016 09:30:25
Message: <5857ef01$1@news.povray.org>
On 12/18/2016 09:45 AM, Dave Blandston wrote:
> This picture shows the original bitmap with a cubic_spline prism overlay.
> Unfortunately, the control points for this prism were made by hand just to test
> the utility program.
>
> The yellow dots indicate control points.
>
> Regards,
> Dave Blandston
>
Interesting.

Have you tested the on curve point generation for substantially concave 
bitmaps - 'C' like shapes?

How about bitmaps with holes - 'O' like shapes?

As for control points and alignment with results from other tools wonder 
if the bezier_spline might not be the way to go.

---
Aside 1 : A while back I started a project with the idea of providing an 
POV-Ray version of the bit mapped Unifont. See:

https://en.wikipedia.org/wiki/GNU_Unifont

Idea was to provide a bitmap from the unifont directly, a set of inside 
paths/curves and an outer bezier_curve for all the characters in the 
unifont as POV-Ray include files. People on the planet could then do 
what ever they wanted with the data inside or outside of POV-Ray with 
useful character shape data. I got started on it with a 64x64 base 
bitmap in POV-Ray, but then got distracted; One of my bad habits.

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.

Anyway, your tool would likely fit with such an all plane 0 characters 
in various POV-Ray formats effort - so I'm interested.

Bill P.


Post a reply to this message

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