Blender Git Loki

Git Commits -> Revision 6a9b09a

November 7, 2021, 14:41 (GMT)
LineArt: Better handling of boundary cases.

For lineart_LineIntersectTest2d, it fixes the output to 0 or 1 when it's
close enough, gives correct range for point_on_triangle identification.

Then it gives more information through aAligned, which will be true if
two lines completely align, this helps later identification.

Finally: it handles complex cases where one point is on the edge of
a triangle while another point is on the outside.

Commit Details:

Full Hash: 6a9b09a5e93626a102c6c391d452aaddafc45f48
Parent Commit: 4454826
Lines Changed: +91, -27

3 Modified Paths:

/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c (+5, -0) (Diff)
/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c (+43, -22) (Diff)
/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h (+43, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021