10-02-2019, 03:49 PM
(This post was last modified: 10-02-2019, 03:50 PM by josemendez.)
(09-02-2019, 07:01 PM)StudioTatsu Wrote: Can you expose the current progression values from the ElastoplasticMaterial?
It would be great if we can get the comparison variables from plasticRecovery and maxDeformation equations.
Basically, the variables used to compare the current recovery value to plasticRecovery amount and current deformation value to maxDeformation amount.
If those values are already exposed, what class do they reside in?
Thanks
Hi!
Internally, there's only one thing stored for deformation: a 3x3 matrix for each shape matching cluster. We compare this matrix with the identity matrix (specifically, we calculate the frobenius norm of the difference between both) to determine the amount of deformation. We linearly interpolate with the identity matrix again to simulate recovery.
We're looking into ways to expose either the 3x3 deformation matrices themselves, or the norm of the difference with the identity matrix (which is a scalar that determines the "amount" of deformation, or what you call current deformation). Which one would be more useful to you?