For the complete documentation index, see llms.txt. This page is also available as Markdown.

OptiTrack Blender Plugin

Learn to setup and use the OptiTrack Blender plugin.

Overview

The OptiTrack Blender Plugin enables streaming of real-time Rigid Body data from Motive to Blender.

Version Requirements

  • Blender Version: 4.1 or above (recommended)

  • Motive Version: 3.1.0 or higher

Blender Setup (Client)

To install the plugin:

  • Download the Blender Plugin from the OptiTrack downloads site.

  • DO NOT unzip the downloaded file.

Import Plugin Package into Blender

  • In Blender, select Preferences from the Edit menu.

The Blender Edit menu, with Preferences selected and highlighted.
The Edit menu in Blender.
  • Select Add-ons from the menu on the left.

  • Use the dropdown arrow in the upper right corner to select Install from Disk...

  • Browse to the downloaded zip file and Install from Disk.

Blender's Preferences panel, with Plugins highlighted.
Blender Preferences: Add-ons.

Enable the Plugin

  • Click in the Search bar at the top of the Preferences pane and search for Motive.

  • Search will return the Motive Blender Plugin. Check the checkbox to enable it.

The Add-ons section of the Blender Preferences panel with the Motive plugin selected, and enabled.
Enabling the Motive Blender Plugin from the Blender Preferences pane.
  • Once the plugin is successfully enabled, it appears as a tab in the Sidebar.

If the Sidebar is not visible, click the small arrow (highlighted, below) in the upper right corner of the 3D Viewport, or use the hotkey "N" to toggle it open or closed.

The Blender 3D viewport with the sidebar collapsed. The < icon to expand the sidebar is highlighted.
Blender 3D Viewport with the Sidebar collapsed.

Motive Data Streaming Setup (Server)

Start by configuring the data streaming settings in Motive. Once configured and enabled, Motive broadcasts tracking data to the designated network interface where client applications can receive it.

The OptiTrack Blender Plugin is designed to configure the necessary streaming settings automatically. This section covers the Motive settings needed for the Plugin to work effectively.

The Motive Application Settings panel, with the Streaming tab selected and the settings required to stream assets to Blender selected and highlighted.
Motive Application Settings: Streaming Pane. Recommended settings for streaming to Blender.

Click the The button to open Motive's Streaming settings from the Control deck. button in the right corner of the Control Deck to open the Data Streaming Pane in Motive’s Application Settings window. Configure the following settings:

  • Enable - Toggle this setting on to enable streaming in Motive.

  • Local Interface - This is the Local Host IP address. Motive is the Server and Blender is the client.

    • When running Motive and Blender on the same machine, select loopback. This sets the IP address for both Server and Client to 127.0.0.1.

    • When streaming to a different PC, select the IP address that connects the Motive (server) computer to the network where the Blender (client) computer is located.

  • Transmission type - Set to Multicast. The Blender Plugin is currently unable to use Unicast.

  • Rigid Bodies- To stream Rigid Body data, enable Rigid Bodies.

  • Skeletons - To stream Skeleton data, enable Skeletons.

  • Skeleton coordinates - Set to Global.

  • Bone Naming Convention - Set to FBX.

  • Up Axis - Set to Y-Axis. The plugin automatically converts the Up-Axis to the Z-axis.

  • Remote Trigger - Keep this setting disabled.

Once these settings are configured correctly, prepare your live Motive session or a Take to stream data into Blender.

The Blender plugin 1.1.1 supports Rigid Body and Skeleton data only.

Blender Plugin Connection Setup

The Blender Plugin panel includes a Properties section for assigning assets.

The Motive plugin panel in Blender.
The Motive Plugin Panel in Blender.

Apply Motive Streaming Data to Objects

Assign the Server IP and Client IP

  • Server IP: enter the IP address for the Motive PC.

  • Client IP: enter the IP address for the Blender PC.

  • Enter 127.0.0.1 in both fields when Motive and Blender are running on the same computer.

Server settings in the Motive plugin in Blender.
IP settings.

Set Transmission Type

The Motive Blender plugin works in Multicast only. Make sure that Multicast is set in both Blender and Motive, as noted above.

Transmission settings in the Motive plugin in Blender.
Transmission settings.

Update Blender Configuration (optional)

As needed, Blender settings can be changed in the plugin panel for the following settings:

  • Unit System

  • Unit Scale

  • Frame Rate

Once changes are made, click the Apply Configuration checkbox to override Blender's settings with those selected. Deselect the checkbox to revert settings back to Blender's default.

Configuration settings for the Motive Blender plugin.
Configuration settings.

Start Connection

Select Start Connection to obtain the data stream from Motive.

Connection options - not connected.

When connected, the Connection settings will display the assets streaming from Motive. Assets will be labeled by Streaming ID: Asset Name.

Connection options - while connected.
  • Use the Refresh Assets button to update the asset data after switching Takes in Motive.

  • Click Stop Connection to stop streaming data entirely.

Assign Assets

OptiTrack's Blender plugin can stream Rigid Bodies and Skeleton data from Motive.

Rigid Bodies

  • Open the Object Properties for the 3D Mesh you wish to link to the Rigid Body.

  • In the Motive: Assign Assets section, select the Rigid Body that you want to track with the mesh from the Cube dropdown list.

3D Mesh properties: Motive: Assign Assets.
  • In the Motive plugin panel, select Start Receiver. The 3D Mesh will start ingesting the Rigid Body data directly from Motive.

  • Use the Pause button to stop the data from streaming into the object, and the data will stop being written to the 3D mesh.

Motive Rigid Body data streaming into Blender. Click image to enlarge.

Skeletons

The OptiTrack Blender plugin includes a pre-built skeleton mesh. To apply the mesh to Skeleton assets from Motive, click the Add Motive Armature button.

The button to Add Motive Armature in the OptiTrack Blender plugin panel.

Select the Motive Skeleton asset (the actor) in the Blender Scene Collection pane.

The Blender Scene Collection pane with a Motive skeleton asset selected and properties displayed.
  • Open the Object Properties for the mesh.

  • In the Motive: Assign Assets section, select the Actor that you want to track with the Motive Armature.

The "Motive Assign Assets" section of the Blender mesh properties pane, showing a skeleton asset being assigned to the mesh.
  • In the Motive plugin panel, select Start Receiver. The skeleton mesh will start ingesting the skeleton data directly from Motive.

  • Use the Pause button to stop the data from streaming into the skeleton, and the data will stop being written to the 3D mesh.

A Motive skeleton animated in Blender through the OptiTrack Blender plugin.
Motive Skeleton data streaming into Blender. Click image to enlarge.

Using the Recorder

The Recorder function of the plugin allows you to plot keyframes on the tracked object in Blender's timeline. Keyframes will plot on the Location and Rotation Transform values of the object's properties.

Rotation values are plotted in Quaternion angles. Data can still be modified in post-processing in Blender using the rotation gizmo, which uses Euler angles.

Recording

  • Click the Start Record button The Start Record button from the OptiTrack Blender plugin panel in Blender.  to begin recording.

  • Keyframes will begin moving forward and plotting on the timeline.

The Blender timeline with recorded keyframes shown.
Blender timeline with plotted keyframes.
  • Click the Stop button The Stop Record button from the OptiTrack Blender plugin panel in Blender.  to stop plotting the key frames.

Record a Frame Range

Use the Record a Frame Range function when data needs to be recorded within a set time limit.

  • Check the box to toggle on the Record Frame Range function. The Record Frame Range button in Blender.

  • Click Select Frame Range, input the desired start and end frames to record within, and click OK.

Set Frame Range options for recording a frame range in Blender.
Select Frame Range to record in Blender.
  • Whenever this option is toggled on, Blender will record the data only within the selected Frame Range when recording is in progress.

  • Uncheck the box to toggle the Record Frame Range function off.

Record Multiple Actions

The Create New Action function allows you to record multiple actions in one Blender session. This function swaps the current action and keyframes in the timeline with a new action containing no keyframes. To start recording in the new timeline, click Start Record.

The Create New Action button in Blender.
The Create New Action button.

Managing Actions with Dope Sheet

The Dope Sheet Action Editor shows all of the Actions in the file.

  • Select the dropdown clock icon in the upper left of the Timeline window.

  • Select Dope Sheet from the popup menu.

The Dope Sheet window in Blender.
Access the Dope Sheet in Blender.
  • In the Mode dropdown, select Action Editor.

Blender's Mode menu with the Action Editor selected.
Dope Sheet Mode selection.
  • Use the dropdown list in the upper middle of the Action Editor window to create and edit multiple actions within the same Blender session. If you would like to create new actions this way, click the The New Actions button in Blender. button.

The Available Actions window in Blender.
Available Actions in a Blender session.

When moving to the next action, Click the Delete Action button to remove all the key frames from the previous recorded action.

The Delete Action button in Blender.
Delete Actions in Blender.

Access Help

The Info section of the plugin includes linked buttons to access the OptiTrack website and the Blender documentation in our online user guide (coming in release 1.1).

The Info Panel from the OptiTrack Blender plugin.
The Info Panel in the Motive Blender plugin.

Last updated

Was this helpful?