Blender Git Loki
Git Commits -> Revision bb6dd4a
Revision bb6dd4a by Sergey Sharybin (opensubdiv_compare) May 26, 2020, 07:10 (GMT) |
OpenSubdiv: Use explicit storage for edge sharpness Similar to previous change in vertex sharpness, explicitly store value provided by the converter. Allows to avoid rather fragile check for boundary edges. Also allows to avoid need in constructing edge map. This lowers memory footprint of the comparison process and avoids memory allocations during the comparison (which is an extra benefit from the performance point of view). |
Commit Details:
Full Hash: bb6dd4a6c31403ed759fd9dbbbf9717c9a66cb54
Parent Commit: 2d14313
Lines Changed: +147, -90
4 Modified Paths:
/intern/opensubdiv/internal/topology/mesh_topology.cc (+86, -5) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+39, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+4, -0) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+18, -83) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+39, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+4, -0) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+18, -83) (Diff)