POV-Ray : Newsgroups : povray.advanced-users : Rotate object to lie along a vector : Rotate object to lie along a vector Server Time
29 Jul 2024 22:24:05 EDT (-0400)
  Rotate object to lie along a vector  
From: janger
Date: 22 Nov 2000 19:16:24
Message: <3a1c61d8@news.povray.org>
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?
I need it so any object can be substituted for the cylinder, hence object
rotations are required, rather than creating an object 'in-situ'.
If anyone knows of some free Delphi source for Lsystems, I'd appreciate the
link.
Thanx
Janger


Post a reply to this message

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