POV-Ray : Newsgroups : povray.general : Rotations to align to a vector : Rotations to align to a vector Server Time
4 Aug 2024 10:23:47 EDT (-0400)
  Rotations to align to a vector  
From: Sebastiaan
Date: 20 May 2003 14:46:38
Message: <3ECA780D.4000801@ch.twi.tudelft.nl>
Hi,

is there a way to align an object to a predifined vector?

For example, how do I rotate the object

cone{<0,0,0>,1 <1,0,0>,1}

to align with the vector <1,1,1> (i.e. I should have drawn the cone with 
<0,0,0>,1 <1,1,1>,1).

The 'rotate' command doesn't help me much.

Thanks in advance,
Sebastiaan


Post a reply to this message

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