ComfyUI Node
πͺ π Stereoscopic 3D Generator
Creates side-by-side cross-eye stereograms, parallel 3D views, and red-cyan anaglyphs from 2D images. Inspired by Stereonix, it includes automatic Depth Anything V2 Small fallback, custom depth gamma/inversion, zoom & pan cropping, adjustable gap/border spacing, and focus alignment dots.
πͺ π Stereoscopic 3D Generator
- image
- depth_map
- stereogram
- left_eye
- right_eye
- depth_map
βmodeCross-EyeβΊ
βdepth_intensity25βΊ
βdepth_gamma0.50βΊ
βinvert_depthfalseβΊ
βconvergence_plane0.50βΊ
βimage_zoom100βΊ
βpan_horizontal0βΊ
βpan_vertical0βΊ
βgap_spacing20βΊ
βouter_border0βΊ
βalignment_dotstrueβΊ
βfill_methodSmooth (Bilinear Grid)βΊ
βpreview_zoom50%βΊ
Categoryπͺ SaturnNodes/3D & Previews
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| mode | COMBO | Cross-Eye | 7 options: Cross-Eye, Parallel (Wall-Eyed), Red-Cyan Anaglyph, Side-by-Side (Parallel), Top-Bottom (Over-Under), Left Eye Only, +1 |
| depth_intensity | FLOAT | 250β100 | Controls how much the left and right perspectives shift apart. |
| depth_gamma | FLOAT | 0.500.1β3 | Adjust depth curve for realistic 3D falloff (Stereonix default is 0.50). |
| invert_depth | BOOLEAN | false | Flip which parts appear closer or further away. |
| convergence_plane | FLOAT | 0.500β1 | Depth level where parallax is zero (screen surface). Above pops out, below sinks in. |
| image_zoom | FLOAT | 10010β300 | Zoom into areas of interest before generating 3D disparity. |
| pan_horizontal | FLOAT | 0-100β100 | Horizontal pan offset (-100 to 100). |
| pan_vertical | FLOAT | 0-100β100 | Vertical pan offset (-100 to 100). |
| gap_spacing | INT | 200β1000 | Empty black space between the left and right images. |
| outer_border | INT | 00β1000 | Black border padding around the canvas (allows shrinking images for easier cross-eye viewing). |
| alignment_dots | BOOLEAN | true | Place focus guide dots above each eye view to easily lock into 3D cross-eye view. |
| fill_method | COMBO | Smooth (Bilinear Grid) | Hole-filling interpolation for occlusion gaps. |
| preview_zoom | COMBO | 50% | Scale preview for easier cross-eye viewing on canvas (does not affect full output). |
| depth_mapopt | IMAGE | Optional depth map. If disconnected, automatically runs Depth Anything V2. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| stereogram | IMAGE | β |
| left_eye | IMAGE | β |
| right_eye | IMAGE | β |
| depth_map | IMAGE | β |