In article <3961f398@news.povray.org>, "Ian Witham"
<ian### [at] hotmailcom> wrote:
> If I have an object centred on the origin which I say is "looking"
> straight down the +z axis for instance, what is a formula to rotate
> this object so that it is "looking" at another given vector?
>
> I hope to use this formula to have each object on a 3d spline facing the
> next, if you see what I'm getting at.
Try the Reorient() macro:
http://www.erols.com/vansickl/macs.htm
--
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|