Ok, maybe my last message was a bit confusing. Here's more info :D What do I want? 1a - Have a compound where I decompose a matrix so I can filter its components, channels, and choose both SRT transform and rotation orders. I have it already but only outputting the Multiplied Vector. 1b - In the compound, output the final matrix after having all those changes. But right now I can't, because SRT to Matrix as no Transform Order, only uses SRT order. (explained further on the post) 2 - Get a better PPG look for a matrix input and a 2D array of check-boxes for UI clarity.
Anyways an Inverted Matrix fed onto "Multiply by 3D Vector" does what I want; instead of applying the kinematics, it takes them. But there's a problem! If you split and combine the Matrix (I want to filter stuff, right?) it comes out with differences!! That's because "SRT to Matrix" does not respect the Inverted matrix Transform Order, TRS. IMAGE: https://dl.dropboxusercontent.com/u/143766132/Forums/SI-Community/InvertMatrixSRT.png Here is how they look decomposed. IMAGE: https://dl.dropboxusercontent.com/u/143766132/Forums/SI-Community/MatrixSRTOrder.png They use different Trasform Orders. SRT and TSR. But there's no way in "SRT to Matrix" to output a TRS Multiplication Order, so I don't know how to combine again the components into a matrix output. I'm sure I was not the first to notice this! So I was asking how you guys deal with it. Cheers On Tue, Jan 21, 2014 at 12:23 AM, pedro santos <[email protected]> wrote: > Hello > > Doing a compound that can handle most matrix operations of vectors I have > been encountering that the good "Multiply 3D Vector by Matrix" alone can't > handle. > Compound is a somewhat monolithic and big in the PPG and I'm looking for > ways to optimize it. Two of the attached images show: what a matrix input > looks like in a PPG and also that I'm using 4D vectors to filter each > matrix component, XYZ for the respective coordinates and W for all. I would > like to hide the matrix input from the PPG (who writes matrices' inputs?!) > and also have a better filter panel like the mockup also attached in the > image. Do you know of such way on could make such layout? Considering also > Select Case as last resort for 8 cases( All, None, X, Y, Z, XY, XZ, YZ). > > Another thing I've noticed is that "SRT to Matrix" and "Matrix to SRT" > offer now "Transfomation Order" (SRT, STR, RST, etc) like Rotation to Euler > to Rotation and Rotation to Euler offer (XYZ, XZY, YXZ, etc). This > represents two sides of a problem: > > - While the compound I'm doing transforms a vector in a custom order. > (Multiply (S), Rotate Vector (R), Add (T) in which order I want). I can't > seem to be able to combine S R and T into a single matrix output with the > correct transform order. How do you guys do it? > > - If I invert a matrix and then make it pass through "Matrix to SRT" and > "SRT to Matrix", the components are still inverted but their order is back > to SRT instead of TRS like it would happen on an inverted matrix, so I > can't decompose a matrix, change something and assemble it back intact. > Image attached for clarity. > > > Thanks in advance. > Cheers > > Pedro Alpiarça dos Santos > > > -- [img]http://i153.photobucket.com/albums/s202/animatics/avatar_1.gif[/img]

