Blender Git Commit Log

Git Commits -> Revision 3fa5cb1

Revision 3fa5cb1 by Sergey Sharybin
May 25, 2020, 13:39 (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: 3fa5cb1b1021d8b89ff4a2dae7e8d20f4dbba230
Parent Commit: 31ffa76
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