POV-Ray : Newsgroups : povray.newusers : Positioning an object in 3 space. : Positioning an object in 3 space. Server Time
26 May 2024 08:22:54 EDT (-0400)
  Positioning an object in 3 space.  
From: Carl
Date: 21 Jan 2005 14:20:00
Message: <web.41f154ee97df0f1a54c62600@news.povray.org>
I have an object with a defined up (say the y-direction) and a defined
forward (say the x-direction).  I'd like to place this object at a new
location with a new orientation specified by given new up and forward
vectors.  Both vectors are unit vectors and they at perpendicular to each
other.  The translate part is easy but the rotations I need to apply to my
object are giving me trouble.  I'm sure I'm making things more complicated
then necessary.  Can someone help?

Thanks,
Carl


Post a reply to this message

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