8 Commits
Author SHA1 Message Date
texjer bf11227dae Merge main into craft-develop-inpaint: the crate now also holds spline, curve and lut 2026-11-18 20:41:04 -05:00
Dylan M. Taylorandtexjer 6c034902b2 craft-develop: extract spline, curve, and lut modules from LightCraft (#587) (#2274)
Co-authored-by: texjer <texjer@gmail.com>
2026-11-18 16:30:48 -05:00
texjer ad126d48f9 Merge branch 'craft-develop-inpaint' of https://github.com/texjer/craft-libs into craft-develop-inpaint
# Conflicts:
#	Cargo.lock
2026-11-18 16:13:52 -05:00
texjer bf655268d7 craft-develop: a cancelled inpaint with an impossible patch radius is still cancelled 2026-11-18 16:09:33 -05:00
Dylan M. Taylor 7ba969d1bc Separate inpaint source-centre collection from completion 2026-11-18 14:54:05 -05:00
Dylan M. Taylor aa3dc9e2b0 Keep inpaint boundary arithmetic and allocation sizes representable 2026-11-18 13:27:31 -05:00
texjer dcb3fcf603 craft-develop: inpaint rejects an impossible patch radius, and one cancelled poll cancels the call
Review fixes. A patch radius near usize::MAX overflowed in 2 * r + 1; an image with no pixels and a
huge height walked every empty row; a cancellation seen only by a worker's poll was dropped, so a
half-finished pass could come back as a result.
2026-11-18 09:33:47 -05:00
texjer 400b2f821d craft-develop: the crate, with inpaint from LightCraft
The first module of the shared develop pipeline (#587): lightcraft-inpaint at
a75497d6, as craft_develop::inpaint. PatchMatch patch completion and the
membrane fill it seeds from, with their tests. Only the paths in two doc
links and two imports changed.

A parity test compares both fills of one scene with what LightCraft's crate
gave at that commit, through craft-render-parity at Tolerance::BASELINE.
2026-11-17 13:00:47 -05:00