Is there a way to store a matrix directly, as an attribute or in a chop ?
It seems I have to use explodematrix() to grab the matrix components, but in that case everything gets calculated once for each component ?
I wanted to emulate the “rotate to normal” of the copy sop with hardware instancing, and thus use the mlookat(), translate, rotate function to build the matrices and send them to the shader.
But maybe it would be faster to send the normal and up vector to the shader directly and build the matrix there.
Still curious about the matrix expressions though.
Thanks a lot