Inochi2D / inochi-creator

Inochi2D Rigging Application
BSD 2-Clause "Simplified" License
767 stars 40 forks source link

[Feature Request] Symmetrical Mesh Deformation #317

Open Provismet opened 9 months ago

Provismet commented 9 months ago

Validations

Description

When arming a parameter, I would like the ability to add lines of symmetry. When selecting nodes, moving nodes, creating paths, or editing paths: the opposite side of the symmetry line would also be affected.

This could for example be used to create better up/down head turns, symmetrical mouth shapes, etc.

Suggested solution

Nodes can calculate their position/distance to the line of symmetry to locate the mirrored node. Then mirror deformations onto the opposing nodes.
I imagine this would work very similarly to how Mesh Groups, Mirrored Autofill, and flipped deformations already work.

Alternative solution

The ability to copy a partial deformation onto a mesh would achieve similar results.

For example: half of a mesh is deformed -> the partial deformation is copied -> the deformation is flipped -? the partial deformation is pasted back onto the mesh, affecting only the nodes copied.
Both sides are now symmetrical.

Additional Context

No response

seagetch commented 9 months ago

Maybe you can just use flipping pair configration for above purpose.

Provismet commented 9 months ago

Technically that works as a workaround, but it would then require people to split layers in half and mirror their meshes.