Hy3D Camera Config:
The Hy3DCameraConfig node is designed to configure camera settings for 3D rendering within the Hunyuan3DWrapper environment. This node allows you to define various camera parameters such as azimuths, elevations, view weights, distance, and orthographic scale, which are crucial for setting up the camera's perspective and positioning in a 3D scene. By adjusting these parameters, you can control how the camera views the 3D model, enabling you to capture different angles and perspectives. This node is particularly beneficial for artists and designers who want to create dynamic and varied visual outputs from their 3D models, as it provides a flexible and intuitive way to manipulate camera settings without requiring deep technical knowledge.
Hy3D Camera Config Input Parameters:
camera_azimuths
This parameter specifies the azimuth angles of the camera in degrees, which determine the horizontal rotation around the model. The default value is "0, 90, 180, 270, 0, 180", allowing for a full 360-degree view. Adjusting these values changes the horizontal perspective from which the model is viewed. The input should be a comma-separated string of integers.
camera_elevations
This parameter defines the elevation angles of the camera in degrees, affecting the vertical rotation. The default value is "0, 0, 0, 0, 90, -90", which includes views from the sides and top/bottom. Modifying these values alters the vertical perspective, providing different heights from which the model is observed. The input should be a comma-separated string of integers.
view_weights
This parameter assigns weights to each camera view, influencing the importance or contribution of each view in the final rendering. The default value is "1, 0.1, 0.5, 0.1, 0.05, 0.05". Higher weights increase the prominence of a particular view. The input should be a comma-separated string of floats.
camera_distance
This parameter controls the distance of the camera from the model, with a default value of 1.45. The range is from 0.1 to 10.0, allowing you to zoom in or out. A smaller value brings the camera closer to the model, while a larger value moves it further away.
ortho_scale
This parameter sets the orthographic scale of the camera, affecting the size of the model in the view. The default value is 1.2, with a range from 0.1 to 10.0. Adjusting this scale changes the perceived size of the model without altering the camera distance, useful for achieving specific visual effects.
Hy3D Camera Config Output Parameters:
camera_config
The output parameter camera_config is a dictionary containing the configured camera settings, including selected azimuths, elevations, view weights, camera distance, and orthographic scale. This configuration is essential for rendering the 3D model from the specified perspectives, allowing for a tailored visual output that meets your artistic needs.
Hy3D Camera Config Usage Tips:
- Experiment with different
camera_azimuthsandcamera_elevationsto capture unique angles and perspectives of your 3D model, enhancing the visual storytelling of your project. - Use
view_weightsto emphasize certain views over others, which can be particularly useful when creating animations or presentations where specific angles are more critical.
Hy3D Camera Config Common Errors and Solutions:
Invalid input format for camera_azimuths
- Explanation: The
camera_azimuthsparameter expects a comma-separated string of integers. - Solution: Ensure that the input is formatted correctly, such as
"0, 90, 180".
Invalid input format for camera_elevations
- Explanation: The
camera_elevationsparameter expects a comma-separated string of integers. - Solution: Check that the input is a properly formatted string, like
"0, 0, 90".
Invalid input format for view_weights
- Explanation: The
view_weightsparameter requires a comma-separated string of floats. - Solution: Verify that the input is correctly formatted, such as
"1.0, 0.5, 0.2".
Camera distance out of range
- Explanation: The
camera_distancevalue must be between0.1and10.0. - Solution: Adjust the value to fall within the specified range.
Ortho scale out of range
- Explanation: The
ortho_scalevalue must be between0.1and10.0. - Solution: Modify the value to ensure it is within the acceptable range.
