ComfyUI > Nodes > ComfyUI_pytorch360convert > Stack Cubemap Faces

ComfyUI Node: Stack Cubemap Faces

Class Name

Stack Cubemap Faces

Category
pytorch360convert/miscellaneous
Author
ProGamerGov (Account age: 4100days)
Extension
ComfyUI_pytorch360convert
Latest Updated
2025-09-22
Github Stars
0.03K

How to Install ComfyUI_pytorch360convert

Install this extension via the ComfyUI Manager by searching for ComfyUI_pytorch360convert
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_pytorch360convert 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

Stack Cubemap Faces Description

Combines six cube face images into a single tensor for creating 3D cubemaps in VR applications.

Stack Cubemap Faces:

The Stack Cubemap Faces node is designed to seamlessly combine multiple cube faces into a single stacked image, which is particularly useful in 3D graphics and virtual reality applications. This node takes individual images representing the six faces of a cube—Front, Right, Back, Left, Up, and Down—and stacks them into a single tensor. This process is essential for creating cubemaps, which are used to simulate environments in 3D space by mapping these images onto the inside of a cube. By stacking these faces, the node facilitates the manipulation and rendering of 3D scenes, allowing for more immersive and realistic visual experiences. The primary goal of this node is to streamline the process of cubemap creation, making it easier for artists and developers to work with complex 3D environments.

Stack Cubemap Faces Input Parameters:

Front

The Front parameter represents the front face of the cube. It is an image tensor that should have four dimensions, typically representing a batch of images with channels. This parameter is crucial as it forms one of the six sides of the cubemap, contributing to the overall 3D environment representation.

The Right parameter is the image tensor for the right face of the cube. Like the other face parameters, it must be a four-dimensional tensor. This face is essential for completing the right side of the cubemap, ensuring that the environment is accurately depicted from all angles.

Back

The Back parameter corresponds to the back face of the cube. It is a four-dimensional image tensor that, when combined with the other faces, helps create a seamless 360-degree view. This parameter is vital for the rear perspective of the cubemap.

Left

The Left parameter is the image tensor for the left face of the cube. It must also be a four-dimensional tensor. This face is necessary for completing the left side of the cubemap, providing a comprehensive view of the environment.

Up

The Up parameter represents the top face of the cube. It is a four-dimensional image tensor that contributes to the vertical aspect of the cubemap, allowing for an immersive overhead view.

Down

The Down parameter is the image tensor for the bottom face of the cube. Like the other parameters, it should be a four-dimensional tensor. This face completes the cubemap by providing the ground or floor perspective, essential for a full 3D representation.

Stack Cubemap Faces Output Parameters:

Cubemap stack

The Cubemap stack output is a single image tensor that combines all six input faces into a stacked format. This output is crucial for further processing or rendering in 3D applications, as it provides a complete and unified representation of the cubemap. The stacked format allows for efficient manipulation and integration into 3D environments, enhancing the realism and immersion of the visual experience.

Stack Cubemap Faces Usage Tips:

  • Ensure that all input images have the same dimensions and format to avoid inconsistencies in the stacked output.
  • Use high-resolution images for each face to achieve better visual quality in the final cubemap, especially when rendering in high-definition environments.

Stack Cubemap Faces Common Errors and Solutions:

AssertionError: Front.dim() == 4 and Right.dim() == 4 and Back.dim() == 4 and Left.dim() == 4 and Up.dim() == 4 and Down.dim() == 4

  • Explanation: This error occurs when one or more of the input face images do not have the required four dimensions.
  • Solution: Verify that each input image tensor has four dimensions, typically representing a batch of images with channels, and adjust the input data accordingly.

TypeError: Expected input to be a torch.Tensor

  • Explanation: This error indicates that one or more of the input parameters are not of the expected tensor type.
  • Solution: Ensure that all input images are converted to torch.Tensor format before passing them to the node.

Stack Cubemap Faces Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_pytorch360convert
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.