Eternal Nodes
Eternal Nodes for ComfyUI by EternalShade3D: ▶ Panorama 360 Viewer(Load & inspect equirectangular panoramas with drag-to-orbit, scroll zoom, live FOV write-back, & seam/pole/horizon tilt checks) ▶ Flat Shade (GPU flat shading with split and crease modes) ▶ Mesh Bridge & Trimesh to Model3D (Types.MESH ⇄ trimesh conversion and GLB export) ▶ Tile Pipeline Eternal (Split, Source, Save, and Merge pipeline for high-res outpainting) ▶ Video Sizes & Aspect Ratio Size Picker
⚡ ComfyUI-ETERNAL-Nodes
Interactive 360° panorama inspection, 3D mesh repair & bridging, flat-shade control, high-resolution outpainting tile pipelines, and smart image-size picking.
<br>🌐 Explore the Live Landing Page & Documentation →
</div>✨ Overview
Custom ComfyUI node pack engineered by EternalShade3D — bundling specialized 3D, panorama, and high-res image workflow tools into a single lightweight library:
- 🌐 360° Panorama Inspection — Interactive viewport previewing right on the canvas.
- 🧊 3D Mesh Repair & Bridging — Geometry cleanup and gap-filling tools.
- 🎨 Flat-Shade Control — Crisp surface shading toggles for 3D previews.
- 🧩 High-Res Outpainting Pipeline — Seamless tile-based processing for large canvases.
- 📐 Image-Size Picking — Quick aspect-ratio and resolution presets.
🎨 Canvas Appearance
| Property | Default Behavior |
| :--- | :--- |
| Category Prefix | ⚡ ETERNAL ● ↩ / ... |
| Node Title Color |
#4a3fcf (Royal Indigo) |
| Node Body Color |
#2a283e (Deep Slate) |
| Customization | Fully recolorable via any ComfyUI node-color picker |
Nodes
| Node | Category | In → Out | Purpose |
|------|----------|----------|---------|
| Panorama 360 Viewer Eternal | 🌐 360 | image → image | Live WebGL 360 sphere inside the node — drag, zoom, fov writes back. Full details below. |
| Mesh Bridge Eternal | 🧊 3D | mesh+trimesh → mesh+trimesh | Bridges core Types.MESH ↔ trimesh.Trimesh — feed one side, get both. |
| Flat Shade Eternal | 🧊 3D | mesh+trimesh → mesh+trimesh | Bakes flat shading (split or crease mode). |
| Trimesh to Model3D Eternal | 🧊 3D | TRIMESH → FILE_3D_GLB | Mesh → GLB in one node. |
| Video Sizes Eternal | 🔢 Sizes | → sizes | Aspect-ratio + long-edge picker for latent sizing. |
| Aspect Ratio Size Picker | 🔢 Sizes | → width, height | Ratio dropdown + long-edge slider, snapped to ×8. |
| TILE PREPARE ETERNAL | 🧩 Tiles | IMAGE → whole IMAGE + tiles | Plans the grid, emits the crop plus a per-tile list. |
| TILE STITCH ETERNAL | 🧩 Tiles | tile list → IMAGE | Reassembles tiles, blending overlaps. |
| TILE PROMPT PANEL ETERNAL | 🧩 Tiles | IMAGE → STRING + overlay | Per-tile prompt panel. |
| PROMPT FOR TILE #N ETERNAL | 🧩 Tiles | index → STRING | Picks the prompt for tile #N. |
Full details for each node in the sections below.
Repository layout
Structure inspired by the Pixaroma pack (not a copy of it): a thin root, every node in nodes/, every front-end file in js/.
| Path | What lives there |
|------|------------------|
| __init__.py | Registrar only — imports the modules and merges NODE_CLASS_MAPPINGS |
| nodes/ | One module per node (viewer360.py, tile_prepare.py, flat_shade.py, ...) |
| nodes/_tile_common.py | Shared tile math (grid planning, positions, overlap) |
| js/ | Front-end extensions, served to the browser as WEB_DIRECTORY |
| js/shared/ | Reusable UI helpers (panel, settings, node sizing) |
| docs/ | Reference images kept with the pack |
| icon.svg | Pack icon — its URL is published in pyproject.toml, so it stays in the root |
Panorama 360 Viewer Eternal
The node that makes this release: inspect a 360° panorama without leaving your workflow or opening a browser tab.
See it in action

Live preview — drag the sphere, scroll to zoom. The node title, FOV,
Spin and Height controls are all real, not a mock-up.
📥 Full 60-second recording (1080p):
download panorama360_viewer_demo.mp4
— also attached to the v1.1.0 release.
Why a GIF and not the video? GitHub strips
<video>tags from READMEs and serves committed files as plain downloads, so an mp4 can never play on the repo page — an animated GIF is the only thing that actually plays, so that is what leads here. The MP4 above is the full-quality version if you want the whole minute.
How to use
- Wire any image into
image(it must be equirectangular, 2:1). - Run the workflow — the sphere builds inside the node.
- Drag to look around, scroll to zoom, set
auto_rotateto drift. - The gear button opens settings: start yaw/pitch, camera height, exposure, zoom range, wheel/drag speed, horizon guide, background, reset.
Controls
| Control | Type | Notes |
| --- | --- | --- |
| image | IMAGE | Equirectangular 360 image (2:1). |
| frame_index | INT | Which image of a batch to view (0 = first). |
| fov | INT | 30–140, default 100. The zoom it opens at: bigger = wider = further away. The wheel changes it live and writes it back. |
| auto_rotate | FLOAT | Degrees per second (0 = off), 0–60. Pauses while you drag. |
| background | COMBO | dark / black / grey / light — the colour behind the sphere. |
| exposure | FLOAT | 0.2–3.0, default 1.0. Viewer brightness only; never touches the image on the wire. |
| start_yaw | FLOAT | 0–360, default 180. Where it opens horizontally (0/360 = left edge, 180 = middle). |
| start_pitch | FLOAT | −90–90, default 0. 0 = horizon centred, negative = looking down. |
| z_offset | FLOAT | −99–99. Camera height on the vertical axis, as a % of the sphere radius. A translation, not a tilt. |
Notes
- Works fully offline — Three.js r128 is bundled in
js/vendor/three.min.jsand imported as a private module without polluting global Three.js state; a 2D software projector is used when WebGL is unavailable. No CDN is required. - The image passes through to
imageoutput, so the viewer can sit in the middle of a graph instead of ending it. - Search aliases:
360,panorama,equirectangular,sphere,vr.
Flat Shade Eternal — mode comparison
Same mesh, same workflow. split bakes per-face geometry (flat everywhere,
more vertices); crease only splits edges above the angle threshold
(lighter file, flat hard edges).

Aspect Ratio Size Picker
Pick a target canvas size for an Empty Latent Image node from three controls.
Controls
| Control | Type | Notes |
| --- | --- | --- |
| Aspect Ratio | Dropdown | 1:1 (Square), 4:3 (Standard), 3:2 (Classic 35mm Film), 5:4 (Large Format), 16:9 (Widescreen), 16:10 (Widescreen) |
| Long Edge | Slider (INT) | 64–8192, step 8. Always maps to the larger dimension. |
| Invert | Toggle | Swaps the ratio (e.g. 4:3 → 3:4, 16:9 → 9:16). |
Outputs
width(INT)height(INT)
Both snapped to a multiple of 8 for ComfyUI latent alignment. Wire into an
Empty Latent Image node's width/height.
Example
Aspect Ratio Size Picker ──width──▶ Empty Latent Image
└─height─┘
Common long-edge reference
| Long edge | Used for | | --- | --- | | 720 | HD 720p | | 1080 | Full HD / social base | | 1200 | FB shared link / high-res social | | 1280 | HD video / YouTube thumbnail | | 1440 | QHD short edge | | 1920 | Full HD long edge / YouTube 1080p | | 2048 | Photo print @300dpi (~4x6 in) | | 2160 | 4K short edge | | 2560 | QHD (1440p) long edge | | 3508 | A3 print @300dpi | | 3840 | 4K UHD long edge | | 4096 | DCI 4K | | 5120 | 5K | | 7680 | 8K UHD |
🗄 _archive — kept only so old workflows still load
Five nodes are superseded. They stay registered on purpose, under 🗄 _archive,
and each one's name points at its replacement, so you can see the migration
at the point of confusion:
| Archived node | Use instead |
| --- | --- |
| (old) TILE GRID | TILE PREPARE |
| (old) TILE SPLIT | TILE PREPARE |
| (old) TILES → VL | TILE PREPARE (it has a tile output) |
| (old) PER-TILE PROMPT | PROMPT FOR TILE #N |
| (old) VL PROMPTS → PANEL | TILE PROMPT PANEL (wire auto_prompts) |
Install
ComfyUI Manager (recommended)
Search for ETERNAL Nodes (publisher eternal) — the pack is live on the Comfy Registry, so Manager installs it with its dependency (trimesh) handled for you.
Manual
cd ComfyUI/custom_nodes
git clone https://github.com/EternalShade3D/ComfyUI-ETERNAL-Nodes.git
# restart ComfyUI
License
MIT © EternalShade3D