POV-Ray : Newsgroups : povray.binaries.images : How to convert TTF font characters into prism objects? Server Time
10 Feb 2026 06:45:18 EST (-0500)
  How to convert TTF font characters into prism objects? (Message 1 to 2 of 2)  
From: Jörg "Yadgar" Bleimann
Subject: How to convert TTF font characters into prism objects?
Date: 8 Feb 2026 11:16:34
Message: <6988b6e2$1@news.povray.org>
Hi(gh)!

To generate gold-textured carved inscriptions in marble, I need tapering 
font characters... and (besides turning them into heightfields and 
rotating them afterwards by 180 degrees before subtracting them from the 
marble plate) they only way to achieve this is converting them into 
prism objects and adding the taper_sweep modifier... how could I do this?

See you in Khyberspace!

Yadgar


-- 
VBI BENE, IBI BACTRIA!


Post a reply to this message

From: Alain Martel
Subject: Re: How to convert TTF font characters into prism objects?
Date: 8 Feb 2026 13:02:18
Message: <6988cfaa$1@news.povray.org>
Le 2026-02-08 à 11:16, Jörg "Yadgar" Bleimann a écrit :
> Hi(gh)!
> 
> To generate gold-textured carved inscriptions in marble, I need tapering 
> font characters... and (besides turning them into heightfields and 
> rotating them afterwards by 180 degrees before subtracting them from the 
> marble plate) they only way to achieve this is converting them into 
> prism objects and adding the taper_sweep modifier... how could I do this?
> 
> See you in Khyberspace!
> 
> Yadgar
> 
> 

Try the Bevelled_Text macro from shapes.inc.

#macro Bevelled_Text(Font, String, Cuts, BevelAng, BevelDepth, Depth, 
Offset, UseMerge)

BevelAng is in radians.
UseMerge need to be 0.
Cuts determine the smoothness.


Use that macro with scale -1*z to place the bevel on the back of the text.


Post a reply to this message

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