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

Meshgroup2: Add grid definitions for MeshData #34

Closed seagetch closed 1 year ago

seagetch commented 1 year ago

MeshGroup can handle mesh vertices efficiently if it knows that mesh is aligned in a grid. This patch stores the grid information in MeshData, and persist in INP / INX file. Together with grid tool in creator, we can optimize MeshGroup to reduce memory later.

Memory will be reduced static/dynamic mode in creator, and dynamic mode in general in the future.