POV-Ray : Newsgroups : povray.text.scene-files : 3D Text with Sphere_sweeps : 3D Text with Sphere_sweeps Server Time
11 Aug 2022 10:57:33 EDT (-0400)
  3D Text with Sphere_sweeps  
From: Dave Blandston
Date: 20 Jun 2022 06:35:00
Message: <web.62b04c62ac40b3a1cf03b124607c1b34@news.povray.org>
Some notes:

The MakeCharacter () macro uses the following variables:

Coordinate [] is an array containing <x, y> spline coordinates plus a diameter
multiplier. The actual format is <x, y, multiplier>.

NPoints indicates the number of spline points in the Coordinate [] array.

HeightFactor adjusts the scale of the character without changing the diameter.

BaseRadius is the default sphere_sweep diameter.

UseLastMinsAndMaxs is useful for making multiple parts of a character to be
unioned together.

It's fairly easy but a little tedious to make characters with this macro. What
worked for me was to make a bitmap image of the characters with a paint program
then mark locations along a path following the center of the character strokes.
The <x, y> coordinates of the marks can then be typed into Coordinate [] array
entries and if necessary the diameter multipliers can be adjusted. With a little
practice one can achieve acceptable results. Don't forget that the first and
last locations aren't actually plotted since the macro uses the b_spline
sphere_sweep method.

Happy raytracing!

Kind regards,
Dave Blandston


Post a reply to this message


Attachments:
Download '3dtext.pov.txt' (11 KB)

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