POV-Ray : Newsgroups : povray.advanced-users : Rotate object to lie along a vector : Re: Rotate object to lie along a vector Server Time
29 Jul 2024 22:23:43 EDT (-0400)
  Re: Rotate object to lie along a vector  
From: Pabs
Date: 22 Nov 2000 19:23:56
Message: <3A1C63F0.1327B074@hotmail.com>
janger wrote:

> This is probably a simple question, but I just can't work the damn thing
> out.
> I'm writing an L-System app for use with Povray. Let's say I have a cylinder
> lying along the positive x-axis, and I want to rotate it to be parallel to
> the current forward vector of the L-System. What is the best way to do this?

Look at the pov links page for John Vansickles page & get his Reorient macro
--
Bye
Pabs


Post a reply to this message

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