|
SuperDex Physics C++ API
|
Parameters for the As-Rigid-As-Possible (ARAP) material model. More...
#include <arap_params.h>
Public Member Functions | |
| bool | operator== (ArapMaterialParams const &) const =default |
Public Attributes | |
| MaterialPsdStrategy | psdStrategy = MaterialPsdStrategy::Projection |
| Strategy for ensuring positive semi-definite Hessian matrices. | |
| real | stiffness = kDefaultArapStiffness |
| ARAP stiffness parameter (μ) [Pa]. | |
Parameters for the As-Rigid-As-Possible (ARAP) material model.
ARAP's primary goal is to deform the object such that each local region undergoes a transformation that is as close to a rigid rotation as possible.
Because it preserves local shape details well and produces intuitive, natural-looking results, ARAP is widely used in computer graphics for applications like interactive mesh editing and character posing.
Definition at line 39 of file arap_params.h.
|
default |
| MaterialPsdStrategy superdex::ArapMaterialParams::psdStrategy = MaterialPsdStrategy::Projection |
Strategy for ensuring positive semi-definite Hessian matrices.
Definition at line 52 of file arap_params.h.
| real superdex::ArapMaterialParams::stiffness = kDefaultArapStiffness |
ARAP stiffness parameter (μ) [Pa].
Definition at line 45 of file arap_params.h.