POV-Ray : Newsgroups : povray.advanced-users : Convert matrix to rotate ? : Re: Convert matrix to rotate ? Server Time
30 Jul 2024 08:23:04 EDT (-0400)
  Re: Convert matrix to rotate ?  
From: John VanSickle
Date: 23 May 2000 19:19:57
Message: <392B1591.B312F16F@erols.com>
Peter Popov wrote:
> 
> On Mon, 22 May 2000 17:46:55 +0200, "Rune" <run### [at] inamecom>
> wrote:
> 
> >You can do that with rotate, scale and translate too. Actually I would guess
> >that any transformation can be done using those. Not that I need it... :-)
> 
> If you mean you can skew an object by rotation, translation and
> scaling, I think you've been mislead. Mr. VanSickle is The One when it
> comes to manipulating the matrix keyword and I trust whatever he says
> on the subject, but this time I doubt he'd disagree. Then again, if I
> am wrong, I will learn something new :)

My matrix page does not explicitly spell this out, but shearing can
be done with the proper combination of rotate, non-uniform scale, and
another rotation.  It is far easier to use a matrix.  I would have
whipped up some macros for shearing, but the many different ways that
shearing can be specified makes it troublesome to decide how the syntax
should work.

Regards,
John
-- 
ICQ: 46085459


Post a reply to this message

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