POV-Ray : Newsgroups : povray.general : Calc matrix coefs : Re: Calc matrix coefs Server Time
26 Apr 2024 04:45:40 EDT (-0400)
  Re: Calc matrix coefs  
From: jr
Date: 25 Dec 2019 04:25:00
Message: <web.5e0329e5ce9dbf348c662f470@news.povray.org>
hi,

kurtz le pirate <kur### [at] gmailcom> wrote:
> I have tow *identicals* triangles T0 and T1
> T0 is "at the origin" : <0,0,0>, <a,0,0>, <b,c,0>
>
> T1 is somewhere in space. The coordinates of the three points of the
> triangle T1 are known.
>
> How to calculate rotations/translation to "move" T0 to T1 ?
> Thank you for your help...

the docunentation tells me that 'transforms.inc' has two complementary macros,
'vtransform()' and 'vinv_transform()'.  apparently , you can use the second to
reverse the action of the first, so given you can transform T1 to origin, maybe
that will help?


regards, jr.


Post a reply to this message

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