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! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/python_inside_maya/b89a0594-1260-47a6-a1bd-1a74b61ba51dn%40googlegroups.com.