|
 |
Fidel viegas wrote:
>Suppose your object is place at <4, 5, 1>. What you do is this
>
>object {
> yourobject
> translate -<4, 5, 1> // place the object at the origin <0, 0, 0>
> rotate <45, 0, 0> // just an example
> translate <4, 5, 1> // move the object back to where it was
>}
>
>Basicallly, you first move the object to the origin, by translating it by
>the negation of its current position. You then rotate it, and after rotating
>it, you just move the object to where it was before by translating the same
>amount without the '-' sign.
>
>Hope that helps.
>
>Fidel.
************************************************
Hey that worked! Thanks a lot for your help.
insomniac.
Post a reply to this message
|
 |