Nodes/atlas-camera/Atlas Path-Guided Hole Repair πŸŽ₯
ComfyUI Node

Atlas Path-Guided Hole Repair πŸŽ₯

A ComfyUI node in Atlas/06 Β· Patch & Repair with 21 inputs and 4 outputs.

By mikejamesvfxΒ·Created 2 months agoΒ·Updated about 23 hours agoΒ· 1
Atlas Path-Guided Hole Repair πŸŽ₯
  • solve
  • hole_mask
  • camera_path
  • path_frames
  • paint_mask
  • exclude_mask
  • repair_mask
  • angle_preview
  • visible_islands
  • report
β—„layerβ–Ί
β—„frame_offset_from_end0β–Ί
β—„lens_scale_override0.00β–Ί
β—„resolution768β–Ί
β—„selection_modeβ–Ύβ–Ί
β—„max_selected_islands0β–Ί
β—„min_visible_pixels8β–Ί
β—„paint_overlap_fraction0.02β–Ί
β—„ring_cells2β–Ί
β—„max_components1024β–Ί
β—„normal_tolerance_deg30β–Ί
β—„max_plane_error_m0.45β–Ί
β—„max_hole_fraction0.040β–Ί
β—„enclosed_onlyfalseβ–Ί
β—„min_normal_support_fraction0.20β–Ί
CategoryAtlas/06 Β· Patch & Repair

Inputs (21)

NameTypeDefaultDescription
solveATLAS_SOLVEβ€”
hole_maskMASKRemaining source-space holes from the first AtlasPlanarHolePatch pass.
camera_pathATLAS_CAMERA_PATHCamera path authored/baked by Atlas Viewport. The selected pose is last frame minus offset.
path_framesoptIMAGEOptional indexed viewport frame(s) used only as the preview background. Bake Repair Frame stores the final frame; candidate IDs remain exact without imagery.
paint_maskoptMASKOptional mask painted over angle_preview. Used only when selection_mode=paint_overlap; touching a rendered candidate selects its complete source-space island.
exclude_maskoptMASKOptional exclusion mask, subtracted before connected components are found, separating open foreground tears from the exterior. Wire the SAME mask you gave the mesh node - the two must agree or this one hunts for tears in geometry that was never built. The report states its frame coverage so you can read the polarity back.
layeroptSTRINGBlank = primary relief; otherwise a ProjectionSource name.
frame_offset_from_endoptINT00–1000000 = final frame, 1 = one frame before final, etc.
lens_scale_overrideoptFLOAT0.000–40 = use the Camera Path playback lens. Otherwise a focal multiplier: below 1.0 is wider; above 1.0 tighter.
resolutionoptINT768128–4096Long edge of the candidate ID render.
selection_modeoptCOMBOAgent mode selects visible fitted islands automatically. paint_overlap converts a moved-view brush mask back into exact source-space connected islands.
max_selected_islandsoptINT00–10240 = all qualifying islands; otherwise cap selection in the chosen size order.
min_visible_pixelsoptINT81–100000Ignore candidates with fewer rasterized pixels at the chosen repair angle.
paint_overlap_fractionoptFLOAT0.020–1Minimum painted share of a visible island needed to select its full source-space component.
ring_cellsoptINT21–12β€”
max_componentsoptINT10241–4096β€”
normal_tolerance_degoptFLOAT301–89β€”
max_plane_error_moptFLOAT0.450.001–10β€”
max_hole_fractionoptFLOAT0.0400.0001–1β€”
enclosed_onlyoptBOOLEANfalseFalse allows silhouette/open-edge tears after the background/sky has already been excluded upstream.
min_normal_support_fractionoptFLOAT0.200.1–1β€”

Outputs (4)

NameTypeDescription
repair_maskMASKβ€”
angle_previewIMAGEβ€”
visible_islandsMASKβ€”
reportSTRINGβ€”