diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2019-08-14 08:53:09 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2019-08-27 21:27:53 +0300 |
commit | 697fd86506fd0caaa41e2fbf0463b5229d09251e (patch) | |
tree | 6f7b592ba6d00f5a4c4e92a0945fb0398c6572f0 /intern/cycles/subd/CMakeLists.txt | |
parent | 7aef075ef6d07dca91444561da68d0233dc1a4c8 (diff) |
Cycles: Stitching of subdivided and displaced meshes
This patch stitches the vertices along patch edges so that cracks can
no longer form when applying subdivision or displacement a mesh.
Subpatches are now formed in a way that ensures vertex indices along
subpatch edges are equal for adjacent subpatches. A mapping of vertices
along patch edges is built to preform stitching. Overall performance is
roughly the same, some gains were made in splitting, but some was lost
in stitching.
This fixes:
- T49049 (cracks between patches from material and uv seams)
- T49048 (discontinuous normals with true displacement)
Reviewers: sergey, brecht
Differential Revision: https://developer.blender.org/D3692
Diffstat (limited to 'intern/cycles/subd/CMakeLists.txt')
-rw-r--r-- | intern/cycles/subd/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/subd/CMakeLists.txt b/intern/cycles/subd/CMakeLists.txt index f5ceaa0436d..b874c5c3c2d 100644 --- a/intern/cycles/subd/CMakeLists.txt +++ b/intern/cycles/subd/CMakeLists.txt @@ -19,6 +19,7 @@ set(SRC_HEADERS subd_patch.h subd_patch_table.h subd_split.h + subd_subpatch.h ) set(LIB |