POV-Ray : Newsgroups : povray.binaries.animations : can someone please point me to ... : can someone please point me to ... Server Time
4 Nov 2024 13:16:32 EST (-0500)
  can someone please point me to ...  
From: Jan Walzer
Date: 17 Jan 2001 18:14:38
Message: <3a66275e@news.povray.org>
the post where someone had a fancy ball flying around and some kind of
"guns" followed him ...

I know it was here a VERY long time ago, and I don't know from whom it was,
but he must have used a macro that takes an location and a target as vectors
and gives back some rotations ...

If someone knows what I mean, please tell me, where I have to look at ...

I have to admit, that I'm currently to lazy to figure this out myself ...
AFAIK it goes like a conversion of cartesian coordinates to polar
coordinates ...
it was something with atan, but IIRC there have been some special cases to
handle when something like x/y was zero ...

I'd prefer to find a macro (of course, I'm sure there is one) ....

ThanX ... Jan

--
Jan Walzer


Post a reply to this message

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