Skiba <abx### [at] babilon org> wrote:
> How can I extract components of matrix from Transform identifier ? At source
> level it is easy and I can patch it easy to get array from transform. But with
> 3.5 I have no sources so I have to extract it with manipulation. I suppose
> taking some unit vectors and read it after this transformation I can achive
> components on transformation matrix. It could be simple when it could be only
> translation and scale. But I think about universal macro with transform as
> parameter and array[4][3] as result. Should I resolve as many equations as it
> contain? What is the shortest way? Anybody have ready solution or should I
> fight with it?
Do the reverse: Have an array keep your matrix components and use a macro
to turn it into a transform block when needed.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|