Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-HyMotion > SAM 3D Body: SAM3D to HyMotion

ComfyUI Node: SAM 3D Body: SAM3D to HyMotion

Class Name

SAM3DToHyMotion

Category
HY-Motion/converters
Author
Aero-Ex (Account age: 1460days)
Extension
ComfyUI-HyMotion
Latest Updated
2026-05-27
Github Stars
0.03K

How to Install ComfyUI-HyMotion

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

SAM 3D Body: SAM3D to HyMotion Description

Converts SAM 3D Body outputs to HyMotion data for motion analysis and animation, streamlining workflow for artists and developers.

SAM 3D Body: SAM3D to HyMotion:

The SAM3DToHyMotion node is designed to seamlessly convert outputs from the SAM 3D Body process into HyMotion data, which is essential for generating realistic motion sequences. This node simplifies the complex task of transforming 3D body mesh and skeleton data into a format that can be used for motion analysis and animation. By handling MHR formatting and SMPL-X fitting internally, it ensures that the data is accurately prepared for further processing in the HyMotion framework. This conversion is crucial for artists and developers who need to integrate 3D body data into motion-based applications, providing a streamlined workflow that enhances productivity and creativity.

SAM 3D Body: SAM3D to HyMotion Input Parameters:

fit_hands

This parameter determines whether the hands should be fitted during the conversion process. When set to True, the node will include detailed hand fitting, which can enhance the realism of the motion data, especially in scenarios where hand movements are significant. The default value is True, and it can be toggled to False if hand fitting is not required, potentially reducing processing time.

flip_orientation

This parameter controls whether the orientation of the 3D body data should be flipped during conversion. Flipping the orientation can be useful in cases where the initial data orientation does not match the desired output orientation. The default setting is True, allowing for automatic orientation correction, but it can be set to False if the original orientation is already correct.

device

This parameter specifies the computational device to be used for processing the conversion. It offers two options: cuda and cpu, with cuda being the default. Utilizing cuda can significantly speed up the processing time by leveraging GPU acceleration, which is beneficial for handling large datasets or complex computations. However, if a GPU is not available, the cpu option ensures compatibility with all systems.

mesh_data

This optional parameter accepts mesh data from the SAM 3D Body Process node. It is crucial for providing the 3D structure of the body, which is then converted into HyMotion data. The mesh data should be in the SAM3D_OUTPUT format, and it includes a tooltip for guidance, ensuring users understand its purpose and how to obtain it.

skeleton

This optional parameter takes skeleton data from the SAM 3D Body Process node. The skeleton data is essential for defining the joint structure and hierarchy of the 3D body, which is necessary for accurate motion conversion. It should be in the SKELETON format, and like the mesh data, it includes a tooltip to assist users in providing the correct input.

SAM 3D Body: SAM3D to HyMotion Output Parameters:

HYMOTION_DATA

The output of this node is HYMOTION_DATA, which represents the converted motion data in a format suitable for use within the HyMotion framework. This data includes all necessary information for motion analysis and animation, such as joint rotations and translations. The output is crucial for further processing and visualization, enabling users to create realistic motion sequences from 3D body data.

SAM 3D Body: SAM3D to HyMotion Usage Tips:

  • Ensure that the fit_hands parameter is set to True if your project requires detailed hand movements, as this will enhance the realism of the motion data.
  • Use the cuda option for the device parameter if you have access to a compatible GPU, as this will significantly speed up the conversion process, especially for large datasets.
  • Double-check the orientation of your 3D body data before setting the flip_orientation parameter to False, as incorrect orientation can lead to unexpected results in the motion data.

SAM 3D Body: SAM3D to HyMotion Common Errors and Solutions:

Segment discontinuity detected!

  • Explanation: This warning indicates that there is a mismatch or discontinuity between segments of the motion data, which can occur if the translation or rotation data does not align correctly.
  • Solution: Verify the input mesh and skeleton data for consistency and ensure that the flip_orientation parameter is set correctly to prevent orientation mismatches.

Could not compute keypoints3d

  • Explanation: This error occurs when the node is unable to calculate the 3D keypoints, possibly due to missing or incorrect mesh data.
  • Solution: Ensure that the mesh_data parameter is provided with valid SAM 3D Body Process node output and that the data format is correct. Additionally, check for any issues with the WoodenMesh cache if applicable.

SAM 3D Body: SAM3D to HyMotion Related Nodes

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

SAM 3D Body: SAM3D to HyMotion