Blender Git Commit Log

Git Commits -> Revision e9c149d

Revision e9c149d by Sybren A. Stüvel (master)
July 30, 2019, 15:06 (GMT)
Alembic import: load face-varying normals

Loop normals are called 'Face-varying normals' in Alembic. Before this
commit, the existence of such normals was used to enable smooth shading.
This is incorrect, as the normals could encode flat faces just as well.

This commit adds the loading of these normals as custom loop normals. It
then also enables Auto-Smoothing on the mesh (which is a bit of a
misnomer and indicates to Blender that the custom normals should be
used).

Fixes the glitching described in T65959.

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

Commit Details:

Full Hash: e9c149d911c2ec52e02e266767797f09ba088f91
Parent Commit: dde978d
Lines Changed: +63, -68

1 Modified Path:

/source/blender/alembic/intern/abc_mesh.cc (+63, -68) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021