![](/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 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) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Are there any plans to add some of the more popular include files and
macros, so the users don't have to wander around the net to find them?
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 <395e14cf@news.povray.org> , "Tony[B]"
<ben### [at] panama c-com net> wrote:
> Are there any plans to add some of the more popular include files and
> macros, so the users don't have to wander around the net to find them?
We need to make sure we get permission to include any third party include or
scene files. If you have any specific suggestions for files let the TAG or
Dale C. Brodin (he takes care of the include and scene files) know, and then
they will likely be considered. After all we can't add what we don't know
about :-)
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) |