ComfyUI > Nodes > ComfyUI_pytorch360convert > Mask Equirectangular Rotation

ComfyUI Node: Mask Equirectangular Rotation

Class Name

Mask Equirectangular Rotation

Category
pytorch360convert/mask
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

Mask Equirectangular Rotation Description

Rotates equirectangular masks for 360° imaging, adjusting roll, horizontal, and vertical angles.

Mask Equirectangular Rotation:

The Mask Equirectangular Rotation node is designed to facilitate the rotation of equirectangular masks, which are commonly used in 360-degree imaging and virtual reality applications. This node allows you to manipulate the orientation of a mask by adjusting its roll, horizontal, and vertical angles, providing a flexible tool for aligning and transforming masks to fit specific spatial requirements. By leveraging different interpolation methods, such as bilinear, bicubic, and nearest, the node ensures smooth transitions and accurate rotations, enhancing the visual quality of the output. This capability is particularly beneficial for artists and developers working with immersive environments, as it simplifies the process of adjusting masks to match the desired perspective or orientation.

Mask Equirectangular Rotation Input Parameters:

mask

The mask parameter represents the input equirectangular mask that you wish to rotate. It is a tensor with three dimensions, typically corresponding to the height, width, and channels of the mask. This parameter is crucial as it serves as the base image that will undergo rotation transformations. The default value is None, meaning you need to provide a valid mask for the node to function.

roll

The roll parameter specifies the degree of rotation around the z-axis of the mask. It is a floating-point value that determines how much the mask should be rotated horizontally. The default value is 0.0, indicating no rotation. Adjusting this parameter allows you to achieve the desired horizontal alignment of the mask.

h_deg

The h_deg parameter controls the horizontal rotation angle of the mask in degrees. It is a floating-point value that affects the mask's orientation along the horizontal plane. The default value is 0.0, meaning no horizontal rotation is applied. By modifying this parameter, you can adjust the mask's horizontal perspective to better fit your needs.

v_deg

The v_deg parameter defines the vertical rotation angle of the mask in degrees. It is a floating-point value that influences the mask's orientation along the vertical plane. The default value is 0.0, indicating no vertical rotation. This parameter is useful for adjusting the mask's vertical perspective to align with specific visual requirements.

padding_mode

The padding_mode parameter determines the interpolation method used during the rotation process. It offers three options: bilinear, bicubic, and nearest, with bilinear being the default. This parameter affects the smoothness and quality of the rotated mask, allowing you to choose the most suitable interpolation method for your project.

Mask Equirectangular Rotation Output Parameters:

Rotated Mask

The Rotated Mask is the output of the node, representing the equirectangular mask after the specified rotation transformations have been applied. This output is a tensor with the same dimensions as the input mask, but with its orientation adjusted according to the roll, horizontal, and vertical angles specified. The rotated mask is essential for integrating the adjusted mask into 360-degree environments or virtual reality applications, ensuring that it aligns correctly with other visual elements.

Mask Equirectangular Rotation Usage Tips:

  • To achieve a smooth rotation effect, experiment with different padding_mode options to find the one that best suits your visual requirements.
  • Use small increments for roll, h_deg, and v_deg to fine-tune the mask's orientation and achieve precise alignment with other elements in your scene.

Mask Equirectangular Rotation Common Errors and Solutions:

mask should have 3 dimensions, got ``

  • Explanation: This error occurs when the input mask does not have the expected three dimensions, which are necessary for the node to process the mask correctly.
  • Solution: Ensure that the input mask is a three-dimensional tensor, typically representing height, width, and channels. Verify the dimensions of your input before passing it to the node.

Mask Equirectangular Rotation 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.