I am trying to set the transformation matrix of a OCamera but not sure what I should be calling to set the matrix. I dump out an existing alembic camera exported from Houdini and I can see the values I put in in some property call .xform
Do I set transform via creating properties or is there some higher level call where I can pass in a M44d matrix ?
Example dump from a Houdini exported Alembic camera.
/:
AbcGeom_Xform_v3 cam1 {
schema=AbcGeom_Xform_v3
schemaObjTitle=AbcGeom_Xform_v3:.xform
}
ScalarProperty uint32_t 1.samples[1]
1
/cam1:
AbcGeom_Camera_v1 cameraProperties {
schema=AbcGeom_Camera_v1
schemaObjTitle=AbcGeom_Camera_v1:.geom
}
CompoundProperty .xform {schema=AbcGeom_Xform_v3}
ScalarProperty int8_t visible[1]
-1
/cam1/.xform:
ScalarProperty bool_t .inherits[1]
1
ScalarProperty uint8_t .ops[1]
48
ScalarProperty float64_t[16] .vals[1]
0.707107, 0, -0.707107, 0, -0.353553, 0.866025, -0.353553, 0, 0.612372, 0.5, 0.612372, 0, 3, 2, 4, 1
ScalarProperty bool_t isNotConstantIdentity[1]
1
/cam1/cameraProperties:
CompoundProperty .geom {schema=AbcGeom_Camera_v1}
/cam1/cameraProperties/.geom:
ScalarProperty float64_t[16] .core[1]
50, 4.14214, 0, 2.32995, 0, 1, 0, 0, 0, 0, 5.6, 5, 0, 0.0208333, 0.122916, 4554.3
CompoundProperty .userProperties
ScalarProperty string .filmBackOps[1]
swinsize
ScalarProperty float64_t[2] .filmBackChannels[1]
1, 1
/cam1/cameraProperties/.userProperties:
ScalarProperty float32_t resx[1]
1280
ScalarProperty float32_t resy[1]
720