ComfyUI > Nodes > ComfyUI-PanoCard > PanoImageFaceToLong

ComfyUI Node: PanoImageFaceToLong

Class Name

PanoImageFaceToLong

Category
PanoCard/convert
Author
Gue-e (Account age: 2623days)
Extension
ComfyUI-PanoCard
Latest Updated
2025-06-23
Github Stars
0.02K

How to Install ComfyUI-PanoCard

Install this extension via the ComfyUI Manager by searching for ComfyUI-PanoCard
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-PanoCard in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

PanoImageFaceToLong Description

Transforms cube map faces into panoramic image for immersive 3D/VR experiences.

PanoImageFaceToLong:

The PanoImageFaceToLong node is designed to transform a set of six square images, typically representing the faces of a cube map, into a single panoramic image. This node is particularly useful in the context of 3D graphics and virtual reality, where cube maps are often used to represent environments. By converting these cube faces into a long, continuous image, you can more easily manipulate or display the panorama in various applications. The node ensures that the images are seamlessly stitched together, maintaining the integrity of the visual data across the entire panorama. This transformation is crucial for creating immersive experiences where a 360-degree view is required.

PanoImageFaceToLong Input Parameters:

face

The face parameter expects an input of six square images, each representing a face of a cube map. These images must have equal width and height, ensuring they can be seamlessly stitched into a panoramic format. The input is crucial as it forms the basis of the panoramic transformation, and any deviation from the required format will result in errors. The images should be in a format that supports an alpha channel, as this is used in the processing to ensure smooth transitions between the cube faces.

PanoImageFaceToLong Output Parameters:

long

The long output is the resulting panoramic image, which is a single, wide image composed of the six input cube faces. This image is arranged in a horizontal strip, allowing for easy manipulation and display in applications that require a 360-degree view. The panoramic image retains the visual fidelity of the original cube faces, ensuring that the environment is accurately represented.

long_mask

The long_mask output provides a mask corresponding to the panoramic image. This mask is useful for identifying and manipulating specific areas of the panorama, such as applying effects or adjustments selectively. The mask is generated based on the alpha channel of the input images, ensuring that it accurately reflects the transparency and boundaries of the original cube faces.

PanoImageFaceToLong Usage Tips:

  • Ensure that all input images are square and have the same dimensions to avoid errors during the transformation process.
  • Use images with an alpha channel to take full advantage of the mask output, which can be used for advanced image processing tasks.
  • Consider the order of the cube faces when preparing your input images, as this will affect the final arrangement of the panoramic image.

PanoImageFaceToLong Common Errors and Solutions:

输入的宽高必须相等

  • Explanation: This error occurs when the input images do not have equal width and height, which is a requirement for the transformation process.
  • Solution: Ensure that all input images are square, with the same width and height dimensions.

输入的图像必须为包含6张

  • Explanation: This error indicates that the input does not consist of exactly six images, which are needed to represent the six faces of a cube map.
  • Solution: Provide exactly six images as input, each representing one face of the cube map.

Mask shape error.

  • Explanation: This error arises when the shape of the mask does not match the expected dimensions, typically when the width is not six times the height.
  • Solution: Verify that the input images are correctly formatted and that the resulting mask dimensions align with the expected panoramic format.

PanoImageFaceToLong Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-PanoCard
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.