Flipping a transformation matrix

For interchanging transformation data between vvvv and another software I am exporting transformation matrixes as text files. While working on the exporter I noticed that vvvv represents transform matrixes differently to everyone else. The matrix is flipped.

Anyone know of a quick way to flip it back (columns become rows)? How come vvvv uses that format?

I was doing it the other way around (DirectX to OpenGL style matrix) with this little patch snipet.
It is spreadable this way.
Didnt finish the thought if it would be correct if you use this patch the other way around, but theoretically it should. If not it might be a starting point for an alternative way of swizzling the vectors.

MatrixConvert.v4p (108.5 KB)

have you try transpose node, should do exactly that

yes, its simply a Transpose (Transform) node.

here is some more on the topic:

@tekcor @antokhio Thanks everyone for the quick replies. Transpose does the trick ;)

@tonfilm thanks for the link to the indepth explanations. As if all this stuff wasn’t difficult enough, they have to make it different in different software. Not even talking about working between Rhino and Maya, where the axis are different. Looots of trial and error involved ;)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.