Hi there, can someone explain the contents of the .json file that is generated when publishing a Layout product type (from maya)?
Our layout includes a set dress of the scene as well as rough blocking of animation for rigged assets. In the output json, each product in the scene is listed, and each one has a transform matrix, but they are all the identity matrix – I’m not sure what this transform matrix supposed to represent in the scene.
Hi Veena. The transform matrix is a matrix representing the sets of transformation data in Maya(aka translate, rotate, scale). The reason of using the matrix data for transformation is related to the data being applied as the transformation in Unreal or Blender, which happened to be represented in Matrix. But as you can see the data also included the xyz data of the rotation, it has been there due to the malfunctioning orientation issue found when importing the assets in Alembic from Maya to Unreal, and we need some extra data to adjust the orientation.
Hopefully this would answer your question.
Hey Veena,
I’ve updated the post title to be more descriptive.
I started writing a response, and then realized the answer to my own question
We were initially confused because the transform matrix was the identity for all objects in the scene, but this is because they were rigged and animated, and the top level product didn’t have any transforms.
So, it seems that this workflow of transform matrix per asset is really meant for set dressing on assets that won’t be animated.
In any case, it makes sense now. Thanks for the reply!