POV-Ray : Newsgroups : povray.general : Transformation to align two axes? : Re: Transformation to align two axes? Server Time
30 Jul 2024 10:23:31 EDT (-0400)
  Re: Transformation to align two axes?  
From: Alain
Date: 12 Mar 2009 16:38:44
Message: <49b972d4$1@news.povray.org>
CShake nous illumina en ce 2009-03-11 23:23 -->
> 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.
It IS a distortion, as is any unevent scaling. It change the basic shape of the 
object, but in a very controled way.

-- 
Alain
-------------------------------------------------
Q: If pro is opposite of con,then what is the opposite of progress?

A: Congress!
Men's restroom, House of Representatives, Washington , DC


Post a reply to this message

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