Hello three.js users,
I have a deep scenegraph. The depth comes from a set of hierarchical Group nodes, with the final one attaching to a Mesh node. The 16-word “matrix” object in each Group node was specified when that Group node was created. These objects are of the “Matrix4” data type.
I notice that the “position”, “quarternion”, “rotation” and “scale” fields of each Group node are also getting populated. I’m assuming this is being done by the three.js system.
At any rate, aren’t the two sets of data equivalent?
Are there any ready functions I can call to flatten this tree? By concatenating these matrices and multiplying each mesh vertex/normal coordinate with that result.