POV-Ray : Newsgroups : povray.advanced-users : Tranformation matrix to change coordinate spaces : Re: Tranformation matrix to change coordinate spaces Server Time
6 May 2024 08:30:52 EDT (-0400)
  Re: Tranformation matrix to change coordinate spaces  
From: Ron Parker
Date: 11 May 2001 11:09:25
Message: <slrn9fo05b.m7q.ron.parker@fwi.com>
On 11 May 2001 11:08:12 -0400, Warp wrote:
>Ron Parker <ron### [at] povrayorg> wrote:
>: First you need to calculate the inverse of 
>
>  Also note that not all matrices can be inverted (it's an analog case to
>real numbers, where 0 has no inverse).

True, but if those really are basis vectors, the inverse should exist.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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