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:02:10 EDT (-0400)
  Re: how can a square mesh be changed to a rhomboid  
From: Le Forgeron
Date: 9 Aug 2010 02:36:31
Message: <4c5fa1ef@news.povray.org>
Le 09/08/2010 05:52, davidafisher a écrit :
> I have a DTM (digital terrain Map) which is square, a mesh comprising of 140,000
> smooth triangles. I need to adjust the map for convergence - difference of the
> grids north to the earths true north. The adjustment would result in a rhomboid
> where the top-left corner might be rotated by, say 3 degrees from the
> bottom-left corner and the top-right corner rotated by 2 degress from the
> bottom-right corner.
> 
> Does anybody have an idea on whether this can be achieved in POV-Ray?
> 
> 
Yes, Me! (end of first degre answer)

With a shear matrix transform.

http://www.povray.org/documentation/view/3.6.0/49/

http://www.f-lohmueller.de/pov_tut/trans/trans_450e.htm

Have a nice day.
-- 
A: Because it messes up the order in which people normally read text.<br/>
Q: Why is it such a bad thing?<br/>
A: Top-posting.<br/>
Q: What is the most annoying thing on usenet and in e-mail?


Post a reply to this message

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