Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exposing ElastoplasticMaterial values?
#1
Pregunta 
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
 
Reply
#2
(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?
Reply
#3
the norm of the difference with the identity matrix will be more useful.  
I am trying to create a percentage of how deformed the softbody is.
I can compare the initial values with the difference.


Thanks
Reply