Blender Git Loki
Git Commits -> Revision 9de5c00
Revision 9de5c00 by Sergey Sharybin May 25, 2020, 13:39 (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: 9de5c00e5fed933a756418c9d38d8a5935f92e85
Parent Commit: e808929
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)
/intern/opensubdiv/internal/topology/mesh_topology.h (+61, -0) (View)
1 Modified Path:
/intern/opensubdiv/CMakeLists.txt (+2, -0) (Diff)