Blender Git Commit Log

Git Commits -> Revision b597fa5

Revision b597fa5 by Sergey Sharybin (opensubdiv_compare)
May 26, 2020, 10:42 (GMT)
OpenSubdiv: Only store edges topology for non-smooth edges

This change makes it so vertices of edge are only stored when edge
has non-zero crease. This allows to lower memory footprint of 1.5M
faces from 78 MiB to 54 MiB in the case all creases are zero.

Meshes with crease are more hard to predict due to array-based
storage, so it all depends on index of edge with crease. Worst case
(all edges are creased) still stays at 78 MiB.

Commit Details:

Full Hash: b597fa56d3c58624a57d5aff2befc8b7c08c0e08
Parent Commit: b311d06
Lines Changed: +39, -40

4 Modified Paths:

/intern/opensubdiv/internal/topology/mesh_topology.cc (+12, -4) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+2, -2) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology_compare.cc (+19, -10) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+6, -24) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021