Community
I'm trying to implement motion blur with the Arnold API and running into a wall. I've figured out I need to add motion keys to the transform matrix for transformation blur and motion keys to the vlist and nlist arrays for deformation blur, but it's not clear in the documentation how to do so assuming I have the transformation data I need.
Essentially, how do I add this info to an AtMatrix or AtArray?
Here's some pseudocode for it:
AtMatrix matrix; AtArray* matrices = AiArrayAllocate(1, GetNumMotionSteps(), AI_TYPE_MATRIX); for each motion step: AiArraySetMtx(matrices, GetMotionStep(), matrix); AiNodeSetArray(node, "matrix", matrices);