Blender Git Loki
Git Commits -> Revision 1278bd1
Revision 1278bd1 by Sergey Sharybin (opensubdiv_compare) May 26, 2020, 07:10 (GMT) |
OpenSubdiv: Keep explicit storage of base mesh faces Allows to perform comparison by doing linear comparison of indices. Before cyclic match was used to deal with possibly changed winding from OpenSubdiv side. Speeds up comparison (and hence improves FPS), makes code more reliable nut uses more memory. |
Commit Details:
Full Hash: 1278bd168922629b3b656025601f205b86b8415b
Parent Commit: 21fcd29
Lines Changed: +132, -150
5 Modified Paths:
/intern/opensubdiv/internal/topology/mesh_topology.cc (+41, -1) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+49, -0) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology_compare.cc (+37, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+5, -0) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+0, -147) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology.h (+49, -0) (Diff)
/intern/opensubdiv/internal/topology/mesh_topology_compare.cc (+37, -2) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_factory.cc (+5, -0) (Diff)
/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc (+0, -147) (Diff)