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

suggestion for change of deserializer (1) #37

Closed seagetch closed 1 year ago

seagetch commented 1 year ago

This patch suggest new deserialization which uses two phase finalizer. finalizer is decomposed into two step. restruct and finalize. restruct change the position of the object in the tree. finalize maintains the link. By introducing this steps, we can dynamically change the structure of the model after loading.

This helps reconstruction of the model structure, and saves into new format.

seagetch commented 1 year ago

Adjusted style.

LunaTheFoxgirl commented 1 year ago

LGTM