POV-Ray : Newsgroups : povray.binaries.utilities : Re: Q: Cylinder caculus? : Re: Q: Cylinder caculus? Server Time
8 Jul 2024 17:35:19 EDT (-0400)
  Re: Q: Cylinder caculus?  
From: Ron Parker
Date: 9 Nov 1998 09:08:24
Message: <3646f758.0@news.povray.org>
On Sun, 08 Nov 1998 19:47:54 -0500, Greg M. Johnson <@aol.com> wrote:
>I have a similar problem.
>
>I want to have an object with its tail at <0,0,0> and its nose at a
>given <x,y,z>.  I want to create it colinear with the X axis and simply
>rotate it to be colinear with the <x,y,z> vector.
>
>I've stumped myself on the math for this. How do I do this?

Go to http://twysted.net/macroscope and look at John VanSickle's 
Reorient macro.  It does exactly what you need.


Post a reply to this message

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