Blender Git Loki

Git Commits -> Revision 717d968

Revision 717d968 by Sergey Sharybin (master)
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Add explicit storage for mesh topology

The idea is to use this explicit storage for topology comparison rather
than using base level. While this will have memory overhead it allows
to simplify comparison of such things as:

- Vertex sharpness (where base level from topology refiner will have it
refined, meaning it will be different from what application requested
for non-manifold and corner vertices).

- It will allow to simplify face-vertices comparison, where currently
O(N^2) algorithm is used due to possible difference in face winding.

- It will also allow to avoid comparison-time allocation of edge map.

Currently no functional changes, just preparing for development which
will happen next.

Commit Details:

Full Hash: 717d968fb9fd2daa5326a8e2322c3accee335ce3
Parent Commit: 5d8515e
Lines Changed: +115, -0

2 Added Paths:

/intern/opensubdiv/internal/topology/mesh_topology.cc (+52, -0) (View)
/intern/opensubdiv/internal/topology/mesh_topology.h (+61, -0) (View)

1 Modified Path:

/intern/opensubdiv/CMakeLists.txt (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021