4. MotionBuilder Plugin
Last updated
Last updated
Download the latest plugin version "NOKOV-MobuPlugin.XXX.exe, " which is compatible with MotionBuilder 2018-2022. Extract the plugin installer package, double-click the extracted plugin, and install it into the software directory. After the installation completes, click Finish to finalize the plugin setup. (The application of the glove human body in MotionBuilder is the same as below.)
Open MotionBuilder, click on "Resources—Asset Browser—Devices, " find "NOKOV-Optical Device, " and drag it into the Viewer window.
Click the "Online" button in the "Navigator—I/O devices—I/O Seeker - Optical Device" at the bottom of the interface to make it live. Click on "Model binding," select the "Create" button, and under "Optical model," click "Generate a new optical model." After playing, uncheck "Live" and then check it again. At this point, moving the human model in the XINGYING software will drive the model in MotionBuilder, resulting in synchronized movement.
Select "Define—Skeleton" in the right window. In the pop-up window, click the "Define" button to create a skeleton. Select the joints in the scene, and in the right window's skeleton list, select the corresponding joints. Right-click and click "Assign Skeleton Bone" to complete the binding. Once all joints are bound, click the lock icon (Lock Character) and select "Biped" to finalize the character setup.
Import the model to be driven into MotionBuilder and perform the character rigging process as described in step 3.
In the "Character Controls" window, select the imported model character in the Character section, and choose the XINGYING human skeleton character in the Source section. This will allow the human movement in the XINGYING software to drive the model.
When performing skeleton redirection on motion capture data, you can use the automatic binding feature in MotionBuilder for one-click binding.
First, connect to the motion capture human data. In the motion capture software, open the settings and set the IP address of the network card to "10.1.1.198," and check the "SDK" option. Connect to the motion capture data in MotionBuilder; for specific steps, refer to the section above titled "Setting Up and Using MotionBuilder."
In the "Navigator" tab at the bottom left of MotionBuilder, expand "I/O Devices," click on "I/O Nokov- Optical Device," and in the "Information" section on the right side, check the "Use Tpose"
At this point, the motion capture human skeleton has been automatically bound in MotionBuilder . Expand "Characters," and you will see the name of the bound human model, which will match the name of the human model in the motion capture data.
When characterizing motion capture data in MotionBuilder, the imported model's skeleton should be as consistent as possible with the XINGYING human skeleton. The skeleton hierarchy of the model must match the hierarchy of the XINGYING human skeleton. The XINGYING human skeleton hierarchy , skeleton names, and the skeleton prefix "Body3" refer to the name of the XINGYING human model.
After importing the model into MotionBuilder, please adjust the model's pose to T-Pose, ensuring it matches the T-Pose of the XINGYING human model before driving it.
The skeleton coordinate axes of the model need to be consistent with those of the XINGYING human skeleton. Refer to the XINGYING human skeleton coordinate axes.
Create a rigid body in XINGYING Live mode or load rigid body data in Edit Mode. Open MotionBuilder software, drag the XINGYING plugin into the scene, and click the Online button in the lower interface "Navigator—I/O devices—I/O Nokov- Optical Device" to enter Live status. Click "Model binding, " choose the Create button, and under "Optical model, " click "Generate a new optical model." Play XINGYING software, and marker points will be displayed in the MotionBuilder scene.
In the lower-left "Navigator" tab of MotionBuilder, expand "I/O Devices, " click "I/O Nokov-Optical Device, " and in the middle-right "Information" section, click "Create RigidBody." The rigid body will then be successfully created.
In the "Navigator" tab, expand "Scene, " and within "Scene" expand Nokov-Optical Device: Optical. Scroll to the bottom to see the created rigid body's name, which matches the rigid body name in XINGYING. Double-click the rigid body's name, and the rigid body in the scene will display connections. The selected rigid body will be highlighted, changing from red to green.
After obtaining motion capture data using the Motionbuilder plugin, if there are unnamed points in the motion capture data, these will also be displayed in the Motionbuilder scene. The default color for unnamed points is purple, while named points are colored blue.
Adjusting the Color of Unnamed Points: In Motionbuilder, you can modify the color of unnamed points from the motion capture data in the scene. The steps are as follows: First, in the "Navigator" tab, expand "I/O Devices" and select "I/O NOKOV-Optical Device."
Next, in the lower right corner of the Motionbuilder interface, select Properties. Below Default, click the "..." button, and in the popup Color window, you can modify the color of the unnamed points.
Select the "Information" tab and click the "Refresh" button to refresh the MotionBuilder scene. This prevents the human skeleton from getting stuck in the scene after changes occur to the XINGYING human template.
After characterizing the XINGYING human data and the model that needs to be driven, we need to select the created character and source. Before doing so, we must check the "Use Tpose" checkbox to force the XINGYING human skeleton in the scene to display in the standard T-Pose. Since the models imported into MotionBuilder are typically in the standard T-Pose, our human skeleton must also match the pose of the model. Once this alignment is ensured, we can select the character and source. This way, when the XINGYING human data drives the model in real time, the model's movements will remain consistent with those of the XINGYING human model.