ComfyUI > Nodes > ComfyUI_HYWorld2 > Camera Trajectory Builder

ComfyUI Node: Camera Trajectory Builder

Class Name

VNCCS_CameraTrajectoryBuilder

Category
VNCCS/Video
Author
AHEKOT (Account age: 1256days)
Extension
ComfyUI_HYWorld2
Latest Updated
2026-04-30
Github Stars
0.04K

How to Install ComfyUI_HYWorld2

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

Camera Trajectory Builder Description

Facilitates dynamic camera trajectory creation in virtual environments with customizable parameters for panning, zooming, and rotating.

Camera Trajectory Builder:

The VNCCS_CameraTrajectoryBuilder node is designed to facilitate the creation of dynamic camera trajectories within a virtual environment. This node allows you to simulate various camera movements such as panning, zooming, and rotating, which can be crucial for generating engaging and realistic animations or visualizations. By providing a range of customizable parameters, the node enables you to control the camera's path and behavior, ensuring that the resulting trajectory aligns with your creative vision. The primary goal of this node is to offer a flexible and intuitive interface for defining camera movements, making it an essential tool for AI artists looking to enhance their projects with dynamic visual elements.

Camera Trajectory Builder Input Parameters:

camera_pose

The camera_pose parameter determines the type of camera movement to be simulated. Options include "Static," "Pan Up," "Pan Down," "Pan Left," "Pan Right," "Zoom In," "Zoom Out," "Anti Clockwise (ACW)," and "ClockWise (CW)." This parameter is crucial as it defines the fundamental motion pattern of the camera, impacting the overall dynamics of the scene. The default value is "Static," which means no movement.

width

The width parameter specifies the width of the camera's view in pixels. It affects the resolution of the output and can range from a minimum of 16 to a maximum defined by nodes.MAX_RESOLUTION, with a default value of 832. Adjusting this parameter allows you to control the horizontal field of view and the level of detail captured in the scene.

height

The height parameter defines the height of the camera's view in pixels, influencing the vertical resolution of the output. Similar to the width, it ranges from 16 to nodes.MAX_RESOLUTION, with a default of 480. This parameter helps in setting the aspect ratio and the amount of vertical detail in the scene.

length

The length parameter indicates the duration of the camera trajectory in frames. It ranges from 1 to nodes.MAX_RESOLUTION, with a default value of 81. This parameter is essential for determining how long the camera movement will last, affecting the pacing and timing of the animation.

speed

The speed parameter controls the speed of the camera movement, with a range from 0 to 10.0 and a default value of 1.0. This optional parameter allows you to adjust how quickly the camera traverses its path, providing flexibility in creating either fast-paced or slow, deliberate movements.

fx

The fx parameter is an advanced setting that adjusts the horizontal focal length of the camera, with a range from 0 to 1 and a default value of 0.5. This optional parameter influences the camera's perspective and depth perception, allowing for fine-tuning of the visual output.

fy

The fy parameter, similar to fx, is an advanced setting that modifies the vertical focal length of the camera. It also ranges from 0 to 1, with a default of 0.5. Adjusting this parameter can help achieve the desired vertical perspective and depth in the scene.

cx

The cx parameter is an advanced setting that determines the horizontal offset of the camera's principal point, ranging from 0 to 1 with a default of 0.5. This optional parameter allows for precise control over the camera's horizontal alignment, which can be useful for centering or offsetting the view.

cy

The cy parameter adjusts the vertical offset of the camera's principal point, with a range from 0 to 1 and a default of 0.5. Like cx, this advanced setting provides control over the vertical alignment of the camera, enabling adjustments to the framing of the scene.

Camera Trajectory Builder Output Parameters:

control_camera_video

The control_camera_video output parameter represents the processed video data that includes the defined camera trajectory. This output is crucial as it encapsulates the visual result of the camera movements, providing a dynamic and engaging representation of the scene. The video data is structured to reflect the specified width, height, and length, ensuring that the output aligns with the input parameters and the creative intent.

Camera Trajectory Builder Usage Tips:

  • Experiment with different camera_pose options to find the most suitable movement for your scene, as each option can dramatically change the visual impact.
  • Adjust the speed parameter to match the mood of your project; slower speeds can create a more contemplative atmosphere, while faster speeds can add excitement and energy.

Camera Trajectory Builder Common Errors and Solutions:

Invalid resolution

  • Explanation: The specified width or height exceeds the maximum allowed resolution.
  • Solution: Ensure that both width and height are within the permissible range defined by nodes.MAX_RESOLUTION.

Unsupported camera pose

  • Explanation: An invalid option was selected for the camera_pose parameter.
  • Solution: Choose a valid option from the provided list, such as "Static," "Pan Up," or "Zoom In."

Frame length too short

  • Explanation: The length parameter is set to a value that is too low to effectively display the camera trajectory.
  • Solution: Increase the length parameter to ensure the camera movement is adequately represented over time.

Camera Trajectory Builder Related Nodes

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

Camera Trajectory Builder