![](/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) |
"TigerHawk" <tig### [at] stic net> wrote in message
news:395BC4A7.DAFB067F@stic.net...
|
| Well, I haven't used MegaPOV itself, but there was a feature I saw in it's
| feature list called text alignment (sorry, I typed the 'ure' after by
| reflex). I am guessing it solves the problem of having to manually align
| the text to the center of an object or wherever you are putting it
Yes, and it's great. Left-aligned (default), center-aligned, or right-aligned
along the length. There isn't a height alignment, but just being able to
center any length of text is very good.
Bob
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) |
Man, no kidding - I wonder why that wasn't done when text was first introduced
into Pov-Ray? Oh well, perhaps with luck it will be in 3.5...
Tim Soderstrom
TigerHawk
Bob Hughes wrote:
> "TigerHawk" <tig### [at] stic net> wrote in message
> news:395BC4A7.DAFB067F@stic.net...
> |
> | Well, I haven't used MegaPOV itself, but there was a feature I saw in it's
> | feature list called text alignment (sorry, I typed the 'ure' after by
> | reflex). I am guessing it solves the problem of having to manually align
> | the text to the center of an object or wherever you are putting it
>
> Yes, and it's great. Left-aligned (default), center-aligned, or right-aligned
> along the length. There isn't a height alignment, but just being able to
> center any length of text is very good.
>
> Bob
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) |
TigerHawk wrote:
>
> Man, no kidding - I wonder why that wasn't done when text was first introduced
> into Pov-Ray?
Because the authors of the text-object hadn't much clue about how
to do it, given the rather unclear docs availiable about truetype
specifications.
>Oh well, perhaps with luck it will be in 3.5...
The good news is : even if [any function] doesn't make it into
3.5, you will still be able to use MegaPOV instead...
Fabien.
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, 30 Jun 2000 23:46:19 +0200, Fabien Mosen wrote:
>TigerHawk wrote:
>>
>> Man, no kidding - I wonder why that wasn't done when text was first introduced
>> into Pov-Ray?
>
>Because the authors of the text-object hadn't much clue about how
>to do it, given the rather unclear docs availiable about truetype
>specifications.
I doubt that. It's pretty simple, and of course they had to know the
bounding box of the object, so alignment is simple.
--
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" <ron### [at] povray org> wrote in message
news:slr### [at] linux parkerr fwi com...
| It's pretty simple, and of course they had to know the
| bounding box of the object, so alignment is simple.
Whoa, hey... a bounding box would show bottom to top of text too, if I'm not
mistaken, meaning it too could be aligned. Front to back also. Wish I were
astute enough to program that in, but alas...
Bob
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) |
In article <395d2f99@news.povray.org>, "Bob Hughes"
<per### [at] aol com?subject=PoV-News:> wrote:
> Whoa, hey... a bounding box would show bottom to top of text too, if
> I'm not mistaken, meaning it too could be aligned. Front to back
> also. Wish I were astute enough to program that in, but alas...
You don't need to program to do it...MegaPOV also has min_extent() and
max_extent() functions, which provide you with the corners of the
bounding box. Then you can just translate the text to position.
Makes the centering keywords a bit redundant...
--
Christopher James Huff - Personal e-mail: chr### [at] mac com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
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) |
"Chris Huff" <chr### [at] mac com> wrote in message
news:chrishuff-6450F5.18504930062000@news.povray.org...
| In article <395d2f99@news.povray.org>, "Bob Hughes"
| <per### [at] aol com?subject=PoV-News:> wrote:
|
| > Whoa, hey... a bounding box would show bottom to top of text too, if
| > I'm not mistaken, meaning it too could be aligned. Front to back
| > also. Wish I were astute enough to program that in, but alas...
|
| You don't need to program to do it...MegaPOV also has min_extent() and
| max_extent() functions, which provide you with the corners of the
| bounding box. Then you can just translate the text to position.
| Makes the centering keywords a bit redundant...
Uh, yeah, but a keyword is so quick and easy once the feature exists inside of
POV source code
:-)
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) |
In article <chrishuff-6450F5.18504930062000@news.povray.org> , Chris Huff
<chr### [at] mac com> wrote:
> You don't need to program to do it...MegaPOV also has min_extent() and
> max_extent() functions, which provide you with the corners of the
> bounding box. Then you can just translate the text to position.
> Makes the centering keywords a bit redundant...
And you might call this the recommended way for POV-Ray 3.5 :-)
Thorsten
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) |
"Thorsten Froehlich" <tho### [at] trf de> wrote in message
news:395daed5@news.povray.org...
| In article <chrishuff-6450F5.18504930062000@news.povray.org> , Chris Huff
| <chr### [at] mac com> wrote:
|
| > You don't need to program to do it...MegaPOV also has min_extent() and
| > max_extent() functions, which provide you with the corners of the
| > bounding box. Then you can just translate the text to position.
| > Makes the centering keywords a bit redundant...
|
| And you might call this the recommended way for POV-Ray 3.5 :-)
That sounds like a tendency toward lean and fast source code being
contemplated then, if I embellish your words right.
Bob
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 Sat, 1 Jul 2000 08:12:37 -0500, Bob Hughes wrote:
>"Thorsten Froehlich" <tho### [at] trf de> wrote in message
>news:395daed5@news.povray.org...
>| In article <chrishuff-6450F5.18504930062000@news.povray.org> , Chris Huff
>| <chr### [at] mac com> wrote:
>|
>| > You don't need to program to do it...MegaPOV also has min_extent() and
>| > max_extent() functions, which provide you with the corners of the
>| > bounding box. Then you can just translate the text to position.
>| > Makes the centering keywords a bit redundant...
>|
>| And you might call this the recommended way for POV-Ray 3.5 :-)
>
>That sounds like a tendency toward lean and fast source code being
>contemplated then, if I embellish your words right.
You embellish correctly. We are thinking about supplying some macros to
simplify the process a bit, though.
--
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) |