POV-Ray : Newsgroups : povray.general : Bent text? : Re: Bent text? Server Time
6 Aug 2024 17:01:47 EDT (-0400)
  Re: Bent text?  
From:
Date: 14 Feb 2002 08:33:54
Message: <pren6u0olknsehje4gi23m9i8jn5bnrn65@4ax.com>
On Thu, 14 Feb 2002 15:14:43 +0200, "Hershel Robinson" <her### [at] yahoocom>
wrote:
> I would like to model a column with words engraved or carved into or out of
> (i.e. protruding from) the column.  I don't know how to create 3D letters
> which are curved to match the column, however.
>
> The hard way would be to use Chris Colefax's Bend include file.  Hard in
> terms of render time--I have more than one column with unique text.  I would
> like to ask if anyone knows of an easier way to accomplish this.

If you want bend text but each letter can stay as is then you can use this
method:

1. split text into letters
2. measure width of each letter
3. create spline along  column
4. walk along spline and measure distance to its origin
5. put every next letter when the measured distance = width of previous letter

note: remember to reorient letter according to current dirrection of spline

something similiar was done in circle_text macro in 3.5

ABX


Post a reply to this message

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