Matrix from ExtractTranslates - incorrect formating?

   154   1   0
User Avatar
Member
9 posts
Joined: Dec. 2017
Offline
I'm trying to use the matrix generated from the "Extract Transform" node, but I'm having some problems.

See attached image. I've connected a transform node to a grid node, nothing is changed, and therefore I should be getting the identity matrix in the "transform" attribute.

Attribute result: [ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]

This is incorrect (missing a 1), the correct matrix would be: [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]
Any idea how to fix this?

* I'm using the matrix later on via python for other stuff.
Edited by sbjork - Jan. 1, 2025 11:21:20

Attachments:
Capture.PNG (143.7 KB)

User Avatar
Member
9 posts
Joined: Dec. 2017
Offline
Oh I see, I guess this is because a grid node have no "y" scale from the start?
  • Quick Links