|
![](/i/fill.gif) |
Mike Wilson wrote:
>
> Is there some easy way to find the x-y-z limits of an object placed at
> an arbitrary location so that it could be translated back to the
> origin? It would be nice to have a "center" command, but I'd settle for
> being able to find the limits so I could translate it myself.
>
> I'm thinking particularly (but not exclusively) about text. Since each
> letter size is somewhat different , I'm finding it hard to do some
> rotation loops that would be simple with centered objects.
>
> If there isn't a simple way do this, is there an #include file anywhere
> that will do centering?
There are two easy solutions. Both are patched versions of POV.
Unfortunately, both are Win95 only at the moment. One is Tmpov, a POV
3.02 patch that has text bounds, centering and justification commands,
among other things. The other is the Superpatch, a POV 3.1 patch that
has general object bounds commands and many other things. You would
find the bounds, and calculate the center from that. Both patches
contain many useful things. On one hand, the Superpatch allows you to
use POV 3.1 items such as media and macros. On the other, the current
version of the Superpatch is in beta, and has limited documentation.
This should change soon, but if you have limited experience with beta
software, Tmpov may be the best choice right now. Both are available at
http://twysted.net/PatchStation
Jerry Anning
cle### [at] dhol com
Post a reply to this message
|
![](/i/fill.gif) |