POV-Ray : Newsgroups : povray.general : How do I find a matrix : Re: How do I find a matrix Server Time
5 Nov 2024 18:27:59 EST (-0500)
  Re: How do I find a matrix  
From: Mark Weyer
Date: 17 Feb 2003 06:53:29
Message: <3E50D026.1050501@informatik.uni-freiburg.de>
> Is there any way to return the matrix for a particular transformation?

Let T(v) be the result of applying the transformation to v.
Then the matrix of T is

   T(x)-T(0)
   T(y)-T(0)
   T(z)-T(0)
   T(0)

where each line should be read as a horizontal 3D-vector.
At least that is how I read 6.3.1.4. I have never used any of this.

-- 
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{color.6}interior{media{emission x}}hollow}//  Mark Weyer


Post a reply to this message

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