Skip to main content

1. Rigid (Rigid Body)

  1. The XINGYING software supports the creation of Markerset in real time. Objects with reflective marking points already attached need to be placed within the site, and each reflective marking point can be seen in the 3D view of the software.
  2. Confirm that the software is in playback mode, click the "Freeze" button at the bottom of the software interface to freeze the 3D view.
  3. There are the following methods to select the reflective marking points in the 3D view: hold down the Shift key while clicking the left mouse button to drag and select, select the reflective marking points that need to create a rigid body for creating the rigid body. You can also hold down the Ctrl or Shift keys and use the left mouse button to click and select the reflective marking points that need to create a rigid body.
  4. After freezing the frame and selecting the unnamed points, the number of selected unnamed points is displayed in real time in the lower left corner of the 3D view. The number in the parentheses represents the number of selected points, and the number on the left side of the parentheses represents the total number of Marker points in the 3D view.
  5. At least three reflective marking points need to be selected to create a rigid body. Only then will the rigid body be created.
8-1-1

Create a Single Rigid Body​

  1. Freeze the current frame. Select the reflective points that need to be created as rigid bodies by框选 in the 3D view (the number of Marker points for creating rigid body selection is 3 to 19). Click the right mouse button and select "Create Rigid Body". In the rigid body creation window, you can customize the name of the rigid body. Choose the orientation of the rigid body's skeleton;
8-1-2
  1. Select "Single", then click "Create". Multiple unnamed points will form a Markerset. The unnamed reflective marking points will be named and connected, and the rigid skeleton will also be created simultaneously.
8-1-3

Create Multiple Rigid Bodies​

  1. The function for creating multiple rigid bodies is mainly used in scenarios with a large number of rigid bodies in the scene. For example, if a drone swarm needs to create multiple rigid bodies, this function can be used to quickly create the rigid bodies. Before using this function, all the captured objects in the scene should be placed relatively evenly, and the distances between each captured object should be kept consistent. The spacing between each reflective marker point on each captured object should also be uniform.
  2. There is no need to select the reflective marker points. In the rigid body creation window, select "Multiple", set "Bone Orientation" and "Neighborhood Radius", and click "Create". Multiple rigid bodies will be successfully created.
8-1-4

Create a rigid body using the multi-frame method​

  1. Freeze the current frame. Select the points that need to be created as rigid bodies by box-select in the 3D view. (The number of Marker points for creating the rigid body selection is 3 to 19.) Click the right mouse button and select "Create Rigid Body". In the rigid body creation window, choose to create "Multiple Frames" rigid bodies.
8-1-5
  1. Move the rigid body slowly in the field and collect data. Once the data collection is completed, the improved error and the original error will be displayed. Click the "OK" button to save the improved rigid body asset. Click "Cancel" to apply the single-frame rigid body that was just created.
8-1-6
8-1-7

Create a custom local coordinate rigid body in real-time mode​

  1. First, place the object to be measured in the capture area. Measure the position coordinates of the points on the object beforehand. On the 3D view, hold down the Shift key and click the left mouse button to select the unnamed points on the object. Right-click to create a rigid body. In the pop-up window for creating the rigid body, select the "Custom" option. The default name for customizing the rigid body starts from "CTracker0" and increments sequentially. Select the bone orientation of the rigid body below and click the "Create" button.
8-1-8
  1. A window for inputting local coordinates will pop up on the software interface. Double-click the input line in the window, and input the XYZ local coordinates of each unnamed point one by one. After all the inputs are completed, click the confirmation button to complete the creation. A custom rigid body will be successfully created in the 3D view.
8-1-9
8-1-10
  1. The local coordinate units entered in the input line are in millimeters (mm). In the real-time mode, new rows cannot be added in the local coordinate input window. The number of rows in the local coordinate input window is the number of unnamed points you have selected, and it supports creating custom rigid bodies by selecting up to 20 unnamed points.
  2. If the local coordinates of the unnamed points entered are incorrect, the creation of the rigid body after clicking "Create" may fail. If the local coordinates of the unnamed points entered are consistent with the local coordinates of the real points, the rigid body will be successfully created.
  3. When one of the local coordinates of a row in XYZ is not entered, it is defaulted to 0.
  4. Clear the entire row: Enter the XYZ local coordinates of the unnamed points, then right-click on the window, a menu bar will pop up. Click the "Clear Entire Row" option, and all the XYZ local coordinates entered in the current focused row will be cleared, and a default value of 0 will be filled in.
  5. Clear all: Click the "Clear All" option, all the XYZ local coordinates entered in all rows will be cleared, and the values in all rows will return to the default values.
8-1-11

"Post-processing mode creates a custom local coordinate rigid body"​

  1. Record the data of the tested object in real-time mode, load it in the post-processing mode, click the "Create" button in the asset panel, in the pop-up "Create Asset" window, enter the asset name, select the type as "Rigid Body", and check the "Custom" checkbox below, then click the "Create Object" button.
8-1-12
  1. The software interface will pop up a local coordinate input window. Enter the local coordinates of the unnamed point in the input line. After entering one line, the window will automatically add a new line. There can be a maximum of 20 lines. Input the local coordinates of the corresponding line according to the number of named points on the measured object. Click the confirmation button, and the template creation is successful. The Marker name, Link connection, and bones of the template will also be automatically created. The type of the bone is "Calcium".
  2. Click the tracking and recognition button to track and recognize the unnamed points. After tracking and recognition, the unnamed points will become named points, and Link connections will also be displayed between the named points. If it is not recognized, it may be that the local coordinates of the unnamed points input during template creation are incorrect, or the position of the stickers on the measured object has changed.
8-1-13
  1. After the tracking and recognition process is completed, click the "Calculate" button. Wait until the progress bar for calculation ends. The skeleton of the rigid body will be calculated and displayed on the rigid body. If the tracking and recognition template fails to identify it, the skeleton will not be calculated even after clicking the "Calculate" button.
8-1-14
  1. Delete One Line: 后 Create a custom rigid body using the processing mode. Right-click in the local coordinate input window, then click "Delete One Line" in the right-click menu. The XYZ local coordinates entered in the current focus line will be cleared, and the current line will be deleted.
  2. Delete All: 在 Right-click in the local coordinate input window, then click "Delete All" in the right-click menu. All the XYZ local coordinates entered will be cleared, and all the lines will be deleted. Only one line of input will be retained.
  3. Click the Save button in the asset panel to save the created custom rigid body template. Click the upper left corner of the file -- Save Motion Capture Data, switch to the real-time mode. Check the checkbox of the created custom rigid body template in the asset list, and click play. You can now use the custom rigid body template you created in post-processing in the real-time mode.

Attention​

info

In the software, there cannot be two rigid bodies with the same name. If the name of a rigid body is duplicated when creating it, the "Create" button will be grayed out and unclickable. Please change the name of the rigid body for creation, or delete the duplicate-named .mars file in the current working path before creating again.

When there are discontinuous serial numbers in the work path for rigid bodies, when creating the names of the rigid bodies, the software defaults to generating the names of the rigid bodies with lower serial numbers first.

Without modifying the names of the rigid bodies, the names of a single rigid body will incrementally default from "Tracker0, Tracker1.....". The names of multiple rigid bodies will default to start incrementing from "MTracker0, MTracker1......".

The maximum number of rigid bodies that can be created is 100.

Add or Delete Markers​

The created rigid body, when in the frozen state, allows for the addition and deletion of markers. The operation entry is shown in the following figure.

9.1.9

Add Marker: In the frozen state, click the "Add Marker" button to enter the Marker addition state. In the 3D view, click an uncommanded point with the mouse or hold the Shift key and click to select multiple points. The selected Markers can be added to the rigid body in real time. The maximum number of Markers for a rigid body cannot exceed 20. When adding the 21st Marker, an error message will be displayed. After adding, if you click the "Add Marker" button again, you can exit the Marker addition state. Once the freeze is removed, the rigid body tracking can resume normally. Delete Marker: In the frozen state, click the "Delete Marker" button to enter the marker deletion state. In the 3D view, click the command point of the current rigid body with the mouse or click the Marker information in the marker list of the rigid body properties. You can delete the selected Marker from the current rigid body in real time. The minimum number of Markers for a rigid body is 3. If only 2 Marker points remain after deletion, the deletion will fail and the user will be prompted with the reason for the failure. After deletion, if you click the "Delete Marker" button again, you can exit the marker deletion state. Once the freeze is broken, the rigid body tracking will resume normally.

Two points determine the orientation of a rigid body.​

To create a rigid body, you can customize its orientation. The specific operation method is as follows: After freezing, press the Ctrl key, and use the left mouse button to select the Marker point in the 3D view. Once the creation is successful, the orientation of the rigid body will be determined by the direction from Marker 1 to Marker 2, that is, it will be based on the first and second Marker points selected by the Ctrl key to determine the orientation of the rigid body.


Coordinate axis tool​

  • Translation operation
  1. Select Rigid Body: From the right list, select the rigid body to be adjusted (the skb type rigid body is not applicable).
  2. Highlight Bones: Select the bone name corresponding to the rigid body or the bone column in the asset component to highlight the rigid body bone; if no bone is selected, the current rigid body bone will be automatically selected after opening the window.
  3. Open Adjustment Window: Click the translation and rotation adjustment button on the top menu bar to pop up the translation and rotation window, displaying the translation and rotation x, y, z information of the currently selected bone.
  4. Activate Translation Editing: Click on the "Translation" tab. The x, y, and z information editing boxes become editable. The origin of the rigid body skeleton displays the translation axes.
  5. Input Translation Values: Enter the values in the corresponding xyz boxes. Press the Enter key or when the input box loses focus, the skeleton will undergo the corresponding offset.
  6. Drag and translate: Drag the corresponding axis of the coordinate system to make the bone shift along that axis. When the mouse is released, the window updates the x, y, and z information of the translation.
8-1-16
  • Rotation operation
  1. Select Rigid Body: In the right list, select the rigid body to be adjusted. If it is a skb type rigid body, only the input value rotation is enabled, and the circular ring is not displayed.
  2. Highlight Bones: Select the bone name corresponding to the rigid body or the bone in the asset component column to highlight the rigid body bone; if no bone is selected, the window will automatically select the current rigid body bone after opening.
  3. Open the Adjustment Window: Click the translation and rotation adjustment button in the top menu bar, and a translation and rotation window will pop up, displaying the translation and rotation x, y, z information of the currently selected bone.
  4. Activate rotation editing: Click on the "Rotation" tab, the x, y, z information editing boxes become editable, and the origin of the rigid body skeleton shows a rotating ring.
  5. Input rotation values: Enter the values in the corresponding xyz boxes, press the Enter key or lose focus of the input box, and the skeleton will perform the corresponding rotation.
  6. Drag rotation: Drag the corresponding axis ring on the rotation ring, the skeleton will rotate along the corresponding axis, and the window will update the x, y, z information of the rotation when the mouse is released.
  7. Exit Editing: Uncheck the "Rotation" button to exit the editing mode. The x, y, and z information editing boxes will be disabled. You can freely drag the 3D interface.
  8. Reset state: When the tool window is closed or when switching assets, align the interface controls of the tool, reset the buttons and input boxes to their default editing states.
8-1-17
  • Move the origin point of the skeleton to the specified position
  1. Freeze frame and select rigid body: Freeze the frame in real-time playback mode, and select the name of the rigid body to be adjusted from the list on the right.
  2. Highlight rigid body skeleton: Select the skeleton corresponding to the rigid body, or select the skeleton name in the column of the component corresponding to the asset, so that the rigid body skeleton is highlighted.
  3. Activate button and set origin: Activate the "Set origin to specified position" button above the translation and rotation, and the origin of the selected rigid body skeleton will appear on the translation axes. Click the named point or unnamed point of the 3D interface for this rigid body, and the origin of the skeleton will change to the coordinates of the selected Marker point and move to that position. Note that the translation axes cannot be dragged.
image (543)
  • Alignment tool

Open the adjustment window: Click on the coordinate axis tool in the menu bar, and a window with options for translation, rotation, and alignment will pop up. By default, the alignment interface is collapsed.

  1. Set spindle parameters: In the spindle row, select the axis to be adjusted and its direction (+X, +Y, +Z, -X, -Y, -Z), choose the target type (axis, Marker, center), and then select the target (if the target type is axis, the target column will have dropdown boxes for Global X, Global Y, Global Z, Local X, Local Y, Local Z for selection; if the target type is Marker or center, the target column will have selection buttons. If Marker is selected, after selection, the last column of the spindle row will show the name label of the Marker point; if center (select multiple points by holding Shift), after selection, the last column of the spindle row will show the number label of the Marker points. When hovering the mouse over it, the names of each Marker point will appear).
8-1-19
  1. Set auxiliary axis parameters: Perform the same selection operation for the auxiliary axis as for the main axis.
  2. Perform alignment operation: Click the "Align" button to apply the alignment operation. If the axis of the main shaft is the same as that of the auxiliary shaft in terms of direction, an error prompt will appear: The target cannot have the same direction as the main shaft; when the type is selected as "Center" or "Marker", a prompt will also be given if the number of selected points does not match.
  3. The local x-axis positive direction of the object's main axis is aligned with the global x-axis. The local y-axis positive direction of the auxiliary axis is a vector originating from the origin of the rigid body skeleton and the direction of Marker 4. The vector cross-product of the main axis and the auxiliary axis (unspecified) is the Z-axis. Using the main axis (X) and the Z-axis, then align the Y-axis.
8-1-20

Rotating human bones

  1. After creating the human model in real-time mode, click on the freeze frame, open the coordinate axis tool, select the human skeleton to be rotated, and select the rotation button in the coordinate axis tool to rotate the skeleton.
  1. After loading the human data in the post-processing mode, without opening the Model Pose, turn on the coordinate axis tool and use the rotation buttons to rotate the human's bones. You can also modify the size of the bones.
  2. After rotating the human's bones in the post-processing mode, click the calculation button to calculate the entire set of human data. After the calculation is completed, the rotated bone angles can be applied to all frames.

Rigid body, human body perspective following

  1. In real-time mode or post-processing mode, the rigid body or human can be followed in the first-person or second-person perspective.
  2. On the 3D view in real-time or post-processing mode, right-click and select "Perspective Following". After selecting "First Person" or "Second Person", the currently selected rigid body asset or human asset will follow in the first-person or second-person perspective. After enabling perspective following, operations cannot be performed on the 3D view, and a "FOLLOWING" prompt will flash at the top of the 3D view indicating that it is currently in the perspective following state. To cancel perspective following, simply right-click and deselect the selected following perspective.
  3. After enabling perspective following, operations cannot be performed on the 3D view, and a "FOLLOWING" prompt will flash at the top of the 3D view indicating that it is currently in the perspective following state. To cancel perspective following, simply right-click and deselect the selected following perspective.
8-1-22

Reset the rotation of the rigid body

  1. By using the reset rigid body rotation function, the current rotation of the rigid body can be reset to zero. It is also possible to reset the rotation of the rigid body to be consistent with the Earth coordinate system (i.e., zero rotation) while keeping the current position of the rigid body unchanged.
  2. When the rotation of the rigid body is non-zero, click the freeze frame button, activate the coordinate axis tool, select the skeleton of the rigid body, and click the "Reset Rigid Body Rotation" button. The rotation of the rigid body will then be reset to zero, and the coordinate system of the rigid body will be consistent with the Earth coordinate system (the origin coordinate system of the 3D view).
8-1-23
  1. In the post-processing mode, resetting the rotation of the rigid body is not available.