Inochi2D / inochi2d

Inochi2D reference implementation aimed at rendering 2D puppets that can be animated in real-time (using eg. facial capture).
BSD 2-Clause "Simplified" License
1.25k stars 47 forks source link

Meshgroup extension: Add translateChildren mode. #39

Closed seagetch closed 1 year ago

seagetch commented 1 year ago

Added new mode for MeshGroup object. MeshGroup object has "translateChildren" parameter. If this parameter is set, MeshGroup moves origin of Node and MeshGroup child nodes in addition to transformation for Drawable. This behavior is basically same as spline editor operation for Node except for this operation only affect translation.

This makes deformation of some parts like face easy.

Currently MeshGroup under MeshGroup parent has some problem, but seems fine for other Node object.

seagetch commented 1 year ago

https://github.com/Inochi2D/inochi-creator/pull/225 is the corresponding patch in creator.

LunaTheFoxgirl commented 1 year ago

LGTM