ComfyTV/Panoramagenerated

Panorama · Current View(PanoramaCurrentViewStage)

The node also provides a preview shell for the current view.

Panorama Current View Stage

panorama
image
yaw
0.0
pitch
0.0
fov
75.0
aspect_ratio
16:9
resolution
1K
ComfyTV

Description

Panorama · Current View renders a perspective camera view from a panorama and outputs the captured view as a COMFYTV_IMAGE. It is part of the ComfyTV/Panorama category. The node combines camera aiming controls (yaw and pitch), a vertical field of view, an aspect ratio, and a resolution tier to define the exact view that is captured.

The node also provides a preview shell for the current view. The aspect_ratio setting locks the shape of that preview shell, so the interactive preview and the rendered image keep the same framing. Connect a COMFYTV_PANORAMA to the optional panorama input when the view should be sampled from an external panorama.

Inputs

InputTypeRequiredDefaultDescription
yawFLOATYes0Camera azimuth in degrees. Range: -180 to 180, step 0.1. 0 points forward. Adjust to rotate the view horizontally around the panorama.
pitchFLOATYes0Camera elevation in degrees. Range: -89 to 89, step 0.1. 0 looks at the horizon. The limits keep the view away from the panorama poles.
fovFLOATYes75Vertical field of view in degrees. Range: 10 to 120, step 0.5. Larger values widen the view; smaller values narrow and zoom in.
aspect_ratioCOMBOYes16:9Captured view aspect ratio. This also locks the preview shell aspect ratio so the preview matches the output framing.
resolutionCOMBOYes1KCaptured view short-side resolution tier. 1K = 1024, 2K = 2048, 4K = 4096 pixels on the short side. The long side follows from the selected aspect ratio.
panoramaCOMFYTV_PANORAMANononeSource panorama for the current view. Connect a panorama to render the view from it using the camera controls above. This input is optional; use it when the view should be driven by an external panorama.

Outputs

The node has one output:

TypeDescription
COMFYTV_IMAGEThe captured perspective view. It reflects the selected yaw, pitch, fov, aspect_ratio, resolution, and connected panorama.

Usage Notes

  • Set yaw and pitch to aim the camera. A yaw of 0 with a pitch of 0 looks forward toward the horizon.
  • fov is vertical, so horizontal coverage is derived from the aspect ratio. When changing aspect ratio, expect the horizontal framing to change even if fov stays the same.
  • The pitch range stops at ±89 degrees to avoid looking directly at the panorama poles, where perspective projection can become unstable or heavily distorted.
  • resolution sets the short side of the output image. For a 16:9 output at the 1K tier, the short side is 1024 pixels and the long side is calculated from the aspect ratio.
  • aspect_ratio affects both the captured image and the preview shell. Use it to lock the preview to the final output shape.
  • The node is useful for extracting a specific perspective view from a 360 panorama, creating thumbnails or camera stills, and feeding the result into an image pipeline.

Comments

Sign in with GitHub to join the discussion.

Loading comments…