Blender Git Loki

Git Commits -> Revision efa4ae1

Revision efa4ae1 by Sergey Sharybin (master)
May 27, 2020, 10:07 (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: efa4ae17f043f41b2d7d26dc8dfc7a7f90b4acfd
Parent Commit: 8cd17a9
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021