Nodes/comfyui-depth-warp/Depth Warp 6-DOF (MagicHour)
ComfyUI Node

Depth Warp 6-DOF (MagicHour)

Depth-based 6-DOF warp. Translation produces parallax for multi-camera virtual studio backgrounds.

By moondive-cinema·Created 5 months ago·Updated 5 months ago· 1
Depth Warp 6-DOF (MagicHour)
  • image
  • depth
  • warped_image
  • hole_mask
focal_length1000
t_x0.00
t_y0.00
t_z0.00
yaw0.0
pitch0.0
roll0.0
depth_inverttrue
mask_dilate_px20
CategoryMagicHour/Background

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
depthIMAGE
focal_lengthFLOAT1000100–5000픽셀 단위 초점거리. 화각이 좁을수록 크게.
t_xFLOAT0.00-3–3좌우 이동. 양수=오른쪽. 패럴랙스 발생.
t_yFLOAT0.00-3–3상하 이동. 양수=아래쪽.
t_zFLOAT0.00-3–3전후 이동. 양수=앞으로. 줌 효과와 유사.
yawFLOAT0.0-45–45좌우 pan (도). 양수=오른쪽.
pitchFLOAT0.0-45–45상하 tilt (도). 양수=아래쪽.
rollFLOAT0.0-45–45회전 (도). 보통 0.
depth_invertBOOLEANtrueTrue: Depth Anything V2 (disparity). False: 이미 depth map.
mask_dilate_pxINT200–100홀 마스크 팽창(px). FLUX Fill 인페인팅 경계 처리용.

Outputs (2)

NameTypeDescription
warped_imageIMAGE
hole_maskMASK