POV-Ray : Newsgroups : povray.binaries.images : Other things the text object can do. : Re: Other things the text object can do. Server Time
3 Apr 2025 15:53:19 EDT (-0400)
  Re: Other things the text object can do.  
From: William F Pokorny
Date: 19 Mar 2025 02:25:16
Message: <67da634c$1@news.povray.org>
On 3/4/25 10:35, William F Pokorny wrote:
> I started looking at a yuqk version of documentation for the text{} object.

Playing with the thickness parameter.

I've always specified values >0, but it works with values at 0 and with 
negative values. With the latter though, by intent or mistake, only 
renders the front and back surfaces - and the interior exterior 
treatments are interesting / different(*).

Iideally we'd have an 'open' capability with text{}, but the way the 
negative thickness values are working allows us to somewhat easily add 
front and back surface textures which are different than the text{} sides.

The images use an 'interior_texture{}' that is green for the "What the 
heck" string. Only matters with the negative thickness on the third and 
fourth sub images. The fourth also using 'inverse'.

Bill P.

(*) Jerome contributed fixes to v3.8 which stabilized the interior / 
exterior surface treatments for text{} objects with +z thicknesses. This 
means prior versions will behave differently.


Post a reply to this message


Attachments:
Download 'textthicknessstory.png' (85 KB)

Preview of image 'textthicknessstory.png'
textthicknessstory.png


 

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