POV-Ray : Newsgroups : povray.text.tutorials : Does anyone know a "look at" formula? : Re: Does anyone know a "look at" formula? Server Time
20 Apr 2024 12:41:59 EDT (-0400)
  Re: Does anyone know a "look at" formula?  
From: Ian Witham
Date: 7 Jul 2000 02:50:13
Message: <39657da5@news.povray.org>
Thanks Chris!

--

Ian

Inkwell: Ian's Homepage
http://www.topcities.com/cartoon/inkwell/index.htm
Chris Huff <chr### [at] maccom> wrote in message
news:chrishuff-6B4CF8.10544904072000@news.povray.org...
> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.