![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wasn't it Dawn McKnight who wrote:
>
>
>Chris Huff wrote:
>
>> A more flexible(and far simpler) solution would be to use a separate
>> text object for every character and use the min_extent() and
>> max_extent() functions to get the bounding box for each individual
>> character, and use these values to position the characters correctly.
>
>I'm trying to get a text string centered, and I remembered this thread.
>Chris, can I use min_extent() and max_extent() on a string, or is it
>only applicable to single characters? Where can I find documentation on
>these functions; it doesn't seem to be with the other text primitive
>documentation in the official docs.
>
>For that matter, if the function is not part of POV natively, where can
>I find the function?
Text centring is directly available in MegaPOV. Just add the
"align_center" modifier to the text object.
You only need to use MegaPOV's "min_extent()" and "max_extent()" if
you're doing more complicated positioning tasks.
The *_extent functions are described in section 9.1 (Bounds Patch) of
the MegaPOV 0.6 docs, and align_* are in section 6.6 (Text Object
Enhancements).
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Williams wrote:
>
> Wasn't it Dawn McKnight who wrote:
Why yes, it was... thank you for noticing! P)
> Text centring is directly available in MegaPOV. Just add the
> "align_center" modifier to the text object.
Sadly, that requires me to download MegaPOV, install it, figure out
where it's different from standard POV, so that I don't get
unpredictable results in my scene files, read the docs on text, etc., etc.
Of course, I probably will do this, eventually, but it's really rather
more involved than I wanted to get for what is basically a throw-away
test on a concept.
Thank you for letting me know this, and for your citation on where the
documentation is... I'll be very grateful when I get around to doing all
that stuff. 8)
--
Dawn McKnight | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] mac com | -- Justine Devlin, M.D.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Dawn McKnight wrote:
> Sadly, that requires me to download MegaPOV, install it, figure out
> where it's different from standard POV, so that I don't get
> unpredictable results in my scene files, read the docs on text, etc., etc.
>
> Of course, I probably will do this, eventually, but it's really rather
> more involved than I wanted to get for what is basically a throw-away
> test on a concept.
For all intents and purposes you should be able to use Megapov
with little or no extra knowlege other than learning it's extra
feature sets. It is basically the same as the official version
with enhancements.
--
Ken Tyler
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Thu, 23 Nov 2000 16:33:02 +0000, Mike Williams wrote:
>Text centring is directly available in MegaPOV. Just add the
>"align_center" modifier to the text object.
Note that this won't be directly supported in POV 3.5.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Ron Parker wrote:
> Note that this won't be directly supported in POV 3.5.
Will there be any text handling improvements in 3.5?
--
Dawn McKnight | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] mac com | -- Justine Devlin, M.D.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Fri, 24 Nov 2000 08:11:19 -0700, Dawn McKnight wrote:
>
>
>Ron Parker wrote:
>> Note that this won't be directly supported in POV 3.5.
>
>Will there be any text handling improvements in 3.5?
The min_extent and max_extent functions will make it in, and we'll likely
provide macros to give the same functionality as the MegaPOV text alignment
keywords provide.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |