ComfyUI Extension: SideBySide_Stereoscope
Create immersive 3D stereoscopic images and videos! Transform your ComfyUI generations into stunning side-by-side 3D visuals for videos and image sequences. Powered by Depth-Anything-V2, no external depth maps needed. Perfect for VR, 3D displays, and cross-eyed viewing - no special glasses required!
Custom Nodes (1)
README
ComfyUI SS Stereoscope
Transform any 2D image into immersive stereoscopic 3D content in ComfyUI.
The SideBySide Stereoscope Node is a cutting-edge 2D-to-3D conversion tool designed for ComfyUI. Powered by Depth-Anything-V2, it automatically creates high-quality depth maps and generates side-by-side (SBS) 3D images and videos perfect for VR headsets and 3D displays.
⨠Features
- š§ AI-Powered Depth - Uses Depth-Anything-V2 for automatic, high-quality depth estimation.
- š Stereoscopic Modes - Supports Parallel and Cross-eyed viewing techniques.
- š„ Video Support - Full workflow for converting videos to 3D (upload, process, combine).
- šļø Fine Control - Adjust depth scale, blur radius, and depth inversion.
- ā” Integrated Workflow - No external tools needed; handles everything within ComfyUI.
- š Performance Mode - Optional "HighSodium Optimization" for up to 4x faster processing.
šø Demo
š Quick Start
Prerequisites
- ComfyUI installed
- Python >= 3.8
Installation
- Navigate to your custom nodes directory:
cd ComfyUI/custom_nodes - Clone the repository:
git clone https://github.com/SamSeenX/ComfyUI_SSStereoscope.git - Install dependencies:
pip install -r ComfyUI_SSStereoscope/requirements.txt - Restart ComfyUI.
(Note: The AI model will download automatically on first use.)
š Documentation
Core Nodes
- š SBS V2: The main node. Input a 2D image, get a 3D SBS image + depth map.
depth_scale: Intensity of the 3D effect.mode: Cross-eyed vs Parallel.highsodium_optimization: Enable vectorized algorithm for faster processing (may produce slightly different results).
- š SBS Video Uploader: Converts input video to image sequence.
- š SBS Video Combiner: Merges processed frames back into a video.
Workflow Example
- Video Input: Use
SBS Video Uploaderto load a video. - Process: Connect frames to
SBS V2node. - Output: Connect results to
SBS Video Combinerto save the 3D video.
šļø Project Structure
ComfyUI_SSStereoscope/
āāā sbs_v2.py # Main logic
āāā requirements.txt # Dependencies
āāā video_utils.py # Video processing helpers
āāā README.md
š¤ Contributing
Contributions are welcome!
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Contributors
- SamSeen - Original Author
- HighSodium - Performance optimization (PR #16)
š License
This project is licensed under the MIT License - see the LICENSE file for details.
ā Support
If you find this project useful, please consider supporting me:
- ā Starring this repository
- š Reporting issues
- ā Buy me a coffee
Created with ā¤ļø by SamSeen