Blender Git Loki

Git Commits -> Revision 73817d3

Revision 73817d3 by Sergey Sharybin (opensubdiv_compare)
May 26, 2020, 07:10 (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: 73817d35a6c6a15f2cb76b025cae3db4c4aca191
Parent Commit: 1952828
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