POV-Ray : Newsgroups : povray.binaries.misc : transformation matrix : transformation matrix Server Time
16 Apr 2024 19:50:54 EDT (-0400)
  transformation matrix  
From: jr
Date: 25 Dec 2018 12:20:05
Message: <web.5c226659252b677e48892b50@news.povray.org>
hi,

the documentation for the transformation matrix says: "... you will not use the
matrix keyword because it is ... harder to visualize."  however, although
"mathematically challenged", I'd like to learn to use it on occasion.

that in mind, can someone please explain why the manual (3.3.1.12.4) mentions a
"..fourth column implicitly set to <0,0,0,1>..", but the subsequent equations do
not include/use those values.

I've attached a WIP script, "POV-Ray matrix maker", a simpe UI which displays a
reference point and its transformation as per the matrix values given.  the
recalculation takes place whenever the focus moves from one control to another
(ie <Tab> and <Shift-Tab>), the copy button places the current matrix (SDL) on
the clipboard.  requires Tk.

feedback sought.  enjoy.


regards, jr.


Post a reply to this message


Attachments:
Download 'povmm.tk.txt' (6 KB)

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