Files
test/source/blender/blenlib/intern
Campbell Barton 19dbe049db Fix #106469: unstable tessellation with quad-flipping detection
The result of detecting if a quad should flip the default 0-2 split
when tessellated only used a pre-calculated normal when available,
since the method of detecting the flip was different, the check for a
concave face could change depending on the existence of polygon-normals.

In practice this meant cycles render preview could use a different
tessellation than the GPU display.

While [0] exposed the bug, it's an inherent problem with having 2
methods of detecting concave quads.

Remove is_quad_flip_v3_first_third_fast_with_normal(..) and always
use is_quad_flip_v3_first_third_fast(..), because having to calculate
the normal inline has significant overhead.

Note that "bow-tie" quads may now render with a subdivision in a
different direction although they must be very distorted with both
triangles along the 0-2 split pointing away from each other.

Thanks to @HooglyBoogly for investigating the issue.

[0]: 16fbadde36.
2023-04-21 15:02:47 +10:00
..
2022-10-07 22:55:03 +11:00
2023-02-03 12:41:01 +11:00
2023-03-29 14:17:32 +11:00
2023-02-11 14:04:35 +11:00
2022-02-11 09:14:36 +11:00
2022-11-08 15:50:49 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2023-04-18 12:53:45 -07:00
2022-10-07 22:55:03 +11:00
2022-10-07 22:55:03 +11:00
2023-03-09 18:15:22 +01:00
2022-10-07 22:55:03 +11:00
2023-02-27 21:51:57 +11:00
2022-02-11 09:14:36 +11:00
2023-04-19 08:02:42 +10:00