POV-Ray : Newsgroups : povray.general : Transformation to align two axes? : Re: Transformation to align two axes? Server Time
30 Jul 2024 10:18:36 EDT (-0400)
  Re: Transformation to align two axes?  
From: CShake
Date: 11 Mar 2009 23:23:45
Message: <49b88041$1@news.povray.org>
clipka wrote:
> Why rotate when you can shear? :)
> 
>   transform { Shear_Trans(newX,VCross(newX,newZ),newZ) }
> 
> There. Shear_Trans is your friend, too :)
> 

Thanks, that works perfectly. I knew there was something stupid simple 
to use, but was afraid of all the Shear transforms because it always 
makes me think of distortion.


Post a reply to this message

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