Blender Git Loki
Git Commits -> Revision 51c38b5
Revision 51c38b5 by Sergey Sharybin (master) July 31, 2018, 07:24 (GMT) |
Subsurf: Rework in a way that patches boundaries are merged together The idea is to create vertices along the coarse edges once, without splitting coarse edges on separate ptex faces. This requires some indexing magic, vertices within a patch are no longer sequential. Not sure how to make it nicer without such a black magic looking calculations (which are basically boiling down to mimicking order of verts/edges creation). In the current offsets calculation loose verts and edges are not properly taken into account, but those are causing topology refiner to fail anyway, so it needs a bit deeper change. Reviewers: brecht Differential Revision: https://developer.blender.org/D3570 |
Commit Details:
Full Hash: 51c38b5d495e406a0c13216470927c5ce0f71e4f
Parent Commit: 5300ba0
Lines Changed: +1464, -258
5 Modified Paths:
/source/blender/blenkernel/BKE_subdiv.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/subdiv_mesh.c (+1450, -257) (Diff)
/source/blender/blenkernel/intern/subdiv_stats.c (+4, -0) (Diff)
/source/blender/blenlib/BLI_bitmap.h (+6, -0) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/subdiv_mesh.c (+1450, -257) (Diff)
/source/blender/blenkernel/intern/subdiv_stats.c (+4, -0) (Diff)
/source/blender/blenlib/BLI_bitmap.h (+6, -0) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+1, -1) (Diff)