POV-Ray : Newsgroups : povray.advanced-users : how can a square mesh be changed to a rhomboid : Re: how can a square mesh be changed to a rhomboid Server Time
29 Jun 2024 02:05:26 EDT (-0400)
  Re: how can a square mesh be changed to a rhomboid  
From: Warp
Date: 9 Aug 2010 10:28:02
Message: <4c601072@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>     rotate z*45
>     scale <1, .5, 1>

  If you want to shear in two axes instead of one, you can do it equally
easily with a matrix transformation, or if you want to do it like above,
then:

    rotate z*45 // or whatever
    rotate x*45 // or whatever
    scale <1, .5, 1>

  It might be easier with the proper matrix transformation, though.

-- 
                                                          - Warp


Post a reply to this message

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