Blender Git Loki

Git Commits -> Revision 4aee701

Revision 4aee701 by Sergey Sharybin (master)
September 12, 2017, 11:20 (GMT)
Fix T52679: Hole in bake normal

In fact, any type of baking might have caused holes in mesh.

The issue was caused by zspan_scanconvert() attempting to get order of traversal
'a-priori', which might have failed if check happens at the "tip" of span where
`zspan->span1[sn1] == zspan->span2[sn1]`.

Didn't see anything bad on making it a check when iterating over scanlines and
pick minimal span based on current scanline. It's slower, but unlikely to cause
measurable difference. Quality should stay the same unless i'm missing something.

Reviewers: brecht, dfelinto

Reviewed By: brecht

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

Commit Details:

Full Hash: 4aee701f0028fbf17103a5565d72e05bbfcc8d9f
Parent Commit: de6ecc8
Lines Changed: +4, -11

1 Modified Path:

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