Blender Git Commit Log

Git Commits -> Revision ece5417

Revision ece5417 by Sergey Sharybin (master)
May 27, 2020, 10:07 (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: ece54172d001332ca9ea0f2046276b7d03547190
Parent Commit: 16aef5d
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021