Make flex vert0 rotation-invariant for interpolated flexes.
The `vert0` array, used for parametric vertex coordinates in flexes, is now computed in the flex's local, unrotated frame when using interpolation. This ensures that the parametric coordinates are independent of the flex's initial orientation. A new test confirms that `flex_vert0` is identical for an unrotated and a rotated flex grid. PiperOrigin-RevId: 908196464 Change-Id: I47d6bcc2bc5df581479d485480e0e947ec6d3ffd
This commit is contained in:
committed by
Copybara-Service
parent
22ca5fe0df
commit
7d54123303
@@ -1404,7 +1404,10 @@ std::vector<std::string> GetWriteReadTestModels() {
|
||||
absl::StrContains(xml, "hfield_xml") ||
|
||||
absl::StrContains(xml, "fromto_convex") ||
|
||||
absl::StrContains(xml, "cube_skin") ||
|
||||
absl::StrContains(xml, "cube_3x3x3")) {
|
||||
absl::StrContains(xml, "cube_3x3x3") ||
|
||||
// exclude files that fail since we do not save pinned flex nodes
|
||||
absl::StrContains(xml, "gripper_trilinear") ||
|
||||
absl::StrContains(xml, "strain")) {
|
||||
continue;
|
||||
}
|
||||
models.push_back(xml);
|
||||
|
||||
Reference in New Issue
Block a user