Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding the inner mechanics of softbody
#6
(13-12-2023, 01:02 AM)whatever Wrote: Can you please explain what you mean by this? How do I do this?

Thank you for your patience with explaining and sending relevant resources. All of them have been extremely helpful.

Quoting a previous message:

Quote:Deformation in Obi is stored as a 3x3 matrix, that encodes deformation shape in 3D. Extracting the deformation magnitude from the matrix (that is, how much it deviates from the identity matrix) can be done in a variety of ways, this sample script uses the Frobenius (aka Euclidean) norm which is just the square root of the sum of the squares of all elements in the matrix.

Each shape matching cluster stores its deformation in a 3x3 matrix. This matrix can store torsion, skew and stretch of each cluster (see: https://graphics.stanford.edu/courses/cs...muller.pdf), that you can extract by looking at the matrix's values. The deformation gradient sample scene is only interested in "deviation from the identity matrix" so it uses the Frobenius norm to get a single scalar value representing this, but you can use a variety other tools like QR decomposition to extract rotation and skew.

kind regards,
Reply


Messages In This Thread
RE: Understanding the inner mechanics of softbody - by josemendez - 13-12-2023, 07:56 AM