Extensions/ComfyUI_pytorch360convert
ComfyUI Extension

ComfyUI_pytorch360convert

A collection of custom nodes for working with and converting between and working with 360 degree equirectangular images, cubemap, and perspective images. Also includes Circular padding Conv2d options for models and VAEs, along with nodes to fix seams and polar artifacts. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano.

By ProGamerGov·Created 2 years ago·Updated 11 months ago· 37
ProGamerGov/ComfyUI_pytorch360convert
Nodes25
On cloudLocal install
Categorypytorch360convert/models, pytorch360convert/mask
Stars37
Updated11 months ago

Nodes (25)

Apply Circular Padding Model

Make the model itself think your pano wraps around — kill the seam at the source

pytorch360convert/models
Apply Circular Padding VAE

Same seam-killing trick, applied to the VAE instead of the diffusion model

pytorch360convert/models
Create 180 To 360 Mask

Tell the inpaint exactly which half of the pano is real

pytorch360convert/mask
Create Pole Mask

The zenith and nadir are a mess — here's the mask to fix them

pytorch360convert/mask
Create Seam Mask

The node that makes the pano's seam invisible — mask it, inpaint it, move on

pytorch360convert/mask
Crop 360 to 180 Equirectangular

Grab the central half of a full panorama and drop the rest

pytorch360convert/equirectangular
Crop Image with Coords

Crop a region, remember where it came from, and never lose your place

pytorch360convert/miscellaneous
Crop Stereo to Monoscopic

Split a 3D panorama into its two eyes so you can actually work on them

pytorch360convert/stereo
Cubemap to Equirectangular

Stitch your six flat faces back into a panorama without wrecking it

pytorch360convert/equirectangular
Equirectangular Mask to Face

Bring your inpaint mask along when you pull a face out of the pano

pytorch360convert/mask
Equirectangular Rotation

The correct way to spin a 360 — yaw, pitch, and roll without breaking the projection

pytorch360convert/equirectangular
Equirectangular to Cubemap

The Swiss Army node of the 360 toolkit — turn a spherical panorama into six flat faces

pytorch360convert/equirectangular
Equirectangular to Face

Pull one face out of the pano — the Down face is where your tripod hole lives

pytorch360convert/equirectangular
Equirectangular to Perspective

Point a virtual camera inside your panorama — the node that makes 360s usable for faces and subjects

pytorch360convert/equirectangular
Face Mask to Equirectangular

Put a face mask back into the pano, aligned to the same projection

pytorch360convert/mask
Face to Equirectangular

Put one cubemap face back into a panorama, flat background and all

pytorch360convert/equirectangular
Masked Diff C2E

Only paste back the pixels that actually changed

pytorch360convert/mask
Mask Equirectangular Rotation

Rotate the pano, rotate its mask — keep the inpaint in the same place

pytorch360convert/mask
Merge Monoscopic into Stereo

Two flat 360° images, one 3D image — the stereo packer you didn't know you needed

pytorch360convert/stereo
Pad 180 to 360 Equirectangular

Turn a half-sphere pano into a full 360 — the blank half is your canvas, not a bug

pytorch360convert/equirectangular
Paste Image with Coords

Stitch your edited region back into the original — bit-identical everywhere you didn't touch

pytorch360convert/miscellaneous
Roll Image Axes

Roll the seam out of your 360 — seam repair starts here

pytorch360convert/miscellaneous
Roll Mask Axes

The little node that keeps your seam mask honest

pytorch360convert/mask
Split Cubemap Faces

Cut your skybox into six flat squares so you can actually edit them

pytorch360convert/miscellaneous
Stack Cubemap Faces

Put the skybox back together — the inverse nobody memorizes

pytorch360convert/miscellaneous
Readme

A collection of custom nodes for working with and converting between and working with 360 degree equirectangular images, cubemap, and perspective images. Also includes Circular padding Conv2d options for models and VAEs, along with nodes to fix seams and polar artifacts. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano.