Blender Git Loki

Git Commits -> Revision 759af7f

January 1, 2018, 14:42 (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: 759af7f1eed86d269d2cca5051443fa5c39b6c45
Parent Commit: 4bc89d8
Committed By: Bastien Montagne
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