POV-Ray : Documentation : 1.4.1.7 How can I find the size of a text object?
  POV-Ray 3.6 Documentation Online View  
1.4.1.6 How can I simulate motion blur?   1.4.1.8 How do I make extruded text?

1.4.1.7 How can I find the size of a text object?

"How can I find the size of a text object / center text / justify text?"

You can use the min_extent() and max_extent() functions to get the corners of the bounding box of any object. While this is sometimes not the actual size of the object, for text objects this should be fairly accurate, enough to do alignment of the text object.

1.4.1.6 How can I simulate motion blur?   1.4.1.8 How do I make extruded text?


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