POV-Ray : Newsgroups : povray.advanced-users : matrix extraction from transformation : Re: matrix extraction from transformation Server Time
29 Jul 2024 16:21:13 EDT (-0400)
  Re: matrix extraction from transformation  
From: s1631001
Date: 10 Dec 2001 06:47:06
Message: <3C14A046.C747369D@namtar.qub.ac.uk>
I just came in here to ask if anyone had a macro like this. Isn't
prescience wonderful?

"Anders K." wrote:
> 
> > #macro Transform_To_Array(Trans)
> >   #local A=vtransform(x,Trans);
> >   #local B=vtransform(y,Trans);
> >   #local C=vtransform(z,Trans);
> >   #local D=vtransform(0*x,Trans);
> >   array[4]{A,B,C,D}
> > #end
> 
> Shouldn't that be array[4]{A-D, B-D, C-D, D}?

-- 
signature{
  "Grey Knight"
  contact{ email "gre### [at] yahoocom" }
  site_of_week{ url "http://enphilistor.users4.50megs.com/" }
}


Post a reply to this message

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