Blender Git Loki
Git Commits -> Revision 4b59ba8
Revision 4b59ba8 by Sergey Sharybin May 25, 2020, 13:39 (GMT) |
OpenSubdiv: Compare edge topology This change makes it so topology refiner comparison will check vertices of all existing/provided edges. The initial claim that due to manifold nature of mesh there is no need in "deep" edges check was wrong: some areas might only provide edges with non-zero creases. So if crease of one edge goes changes from 1.0 to 0.0 and crease of other edge goes from 0.0 to 1.0 the old comparison code would not have caught it. |
Commit Details:
Full Hash: 4b59ba844f8f3faf1a3c6ce8f0208ab39c3c33c3
Parent Commit: 5597ae0
Lines Changed: +212, -33
5 Modified Paths:
/intern/opensubdiv/internal/topology/mesh_topology.cc (+40, -1) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+17, -0) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology_compare.cc (+65, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+75, -21) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+15, -9) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+17, -0) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology_compare.cc (+65, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+75, -21) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+15, -9) (Diff)