View Full Version : What exactly happens in the MatrixHPB node?

Every4thPixel

03-08-2019, 09:29 AM

Can somebody explain what math is happening in the MatrixHPB node. I've created the node setup below as a sort of proof of concept so I know there are other ways to get the same result. I'm trying to create this behavior in code but I'm stuck at the point where the MatrixHPB node comes in.

Can someone please explain what happens in there?

144359

RebelHill

03-08-2019, 09:57 AM

It converts a rotation from a 3X3 matrix representation to an euler (YXZ) representation.

https://en.wikipedia.org/wiki/Euler_angles

Sensei

03-11-2019, 03:18 PM

Check docs if MatrixHPB normalize by itself Right, Up and Forward vectors. Because if it does not normalize, you need to use Math > Vector > Normalize prior plugging them to the node..

Jarno

03-11-2019, 07:34 PM

It does normalize by itself, so the vectors can be any length.

---JvdL---

Powered by vBulletin® Version 4.2.3 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.