POV-Ray : Newsgroups : povray.general : Projective transform matrix : Projective transform matrix Server Time
31 Jul 2024 12:26:20 EDT (-0400)
  Projective transform matrix  
From: Benoit
Date: 18 Feb 2007 19:15:01
Message: <web.45d8eb5a729f303f3d2ece630@news.povray.org>
Hi All,

The "matrix" construct allows one to enter a matrix for a 3D affine
transform. Internally, however, what is stored and used is a linear
transform in the 4D projective space. The 4x4 matrix used for internal
purposes is composed of the 12 coefficients provided by the user in the
"matrix" construct, plus "0 0 0 1" for the last line.

Is there any way that one could enter directly the 16 coefficients of the 4D
projective transform? This would for example enable the transformation of
cylindrical elements into cones, or more complex elements (e.g. height
fields) into their cone version...

Thanks

Benoit


Post a reply to this message

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