Matin Falahmanesh
unread,Aug 23, 2025, 12:25:44 PMAug 23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
Hi guys!
I’ve been developing a deformer in C++, and I have a workflow question before moving forward. i need to precompute a very large matrix (a Beltrami Laplacian) and some additional custom attribute data, but this should only happen once when the user clicks on something like "compute" in the deformer’s attribute editor.
I’m not sure about the best way to do this. I was thinking about using a custom attribute (I already have quite a few) and store the Eigen matrix there along with the other data, though I’m not sure how I’d handle readASCII readBinary in that case with Eigen.
Another option is to save it as a file alongside the Maya scene file, like xgen legacy does, but I feel like there might be a more Mayaish way to handle this.
Keep in mind, it’s not just the large matrix, there are multiple custom attributes as well.
If you guys have any suggestions or ideas, I’d really appreciate your input.
Thanks!