Blender Git Loki

Git Commits -> Revision eedd7b2

Revision eedd7b2 by Piotr Ostrowski (master)
October 5, 2020, 14:41 (GMT)
Fix T81392: subdivision surface poor shading without limit surface

When the limit surface is disabled OpenSubdiv generates a set of linear
patches which are only C0 continuous, not C1. This makes it impossible to
evaluate derivatives at vertices which, in this mode, are by definition put
at boundaries of patches. Normals are calculated from those derivatives.

Solution is to disable normal calculation and let it be done downstream, as
for other modifiers. This limitation is also the reason that non feature
adaptive subdivision is badly suited for GPU evaluation.

Differential Revision: https://developer.blender.org/D9103

Commit Details:

Full Hash: eedd7b27f9fb45e67cb10a98880cb8a9db4cac48
Parent Commit: 0a0e88b
Committed By: Brecht Van Lommel
Lines Changed: +7, -4

1 Modified Path:

/source/blender/blenkernel/intern/subdiv_mesh.c (+7, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021