POV-Ray : Newsgroups : povray.advanced-users : matrix extraction from transformation : Re: matrix extraction from transformation Server Time
29 Jul 2024 16:29:09 EDT (-0400)
  Re: matrix extraction from transformation  
From: Tor Olav Kristensen
Date: 9 Nov 2001 17:18:43
Message: <3BEC5618.2AAB757@online.no>

> 
> On Fri, 9 Nov 2001 12:06:53 -0500, "Anders K." <and### [at] f2scom> 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}?
> 
> right, I missed this bug probably becouse I tested it with D=<0,0,0>
> thanks

During my v3.5 pre-beta testing period I made a
similar macro to this one.

- And I thought it made it to either:
transforms.inc or functions.inc.

But right now I'm not able to find it in any of those.


Tor Olav


Post a reply to this message

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