Axis Software Setup
Either set up your motion capture suit for a recording session or play a recorded take on loop.
Axis Studio Settings
The following settings are for skeletons using Axis Studio bone setup. For standard T-POSE characters use Axis Studio - Thumb Open
- Go to Main Menu --> Settings --> BVH Broadcasting
- Enable Capture if you are using live data or Edit if you are using recorded data
- Make sure the IP address is correct
- Remember the Port number for later
Axis Neuron/ Axis Neuron Pro Settings
- Go to File --> Settings --> Broadcasting
- Enable BVH and TCP
- Make a note of the Port number for later
Apply Real-time Data in Unity
- Import PerceptionNeuron.unitypackage
- Add an empty GameObject. In the scene, add the Neuron Source Manager component through Add Component
- The connection settings are set according to the data flow parameters set in the axis software.
For the data flow forwarding settings of the axis software, refer to how to set the data flow
forwarding in the axis software. The data source of this example will use the axis Studio software
to playback the data. It is recommended that the axis Studio software circularly broadcast and
play the dynamic capture files to ensure that the data flow is not interrupted. The relevant
settings of the data flow are shown in the figure: - You need to use a humanoid human skeleton model. The axis Studio
software sample model will be used in this example - In the Project tab in Unity click on your model and then click on the Rig tab in the inspector
windows. Set your Animation Type to “Humanoid”, then click on Apply.- Next click on Configure to check the bone mapping. Usually Unity will find the right bone
references for almost all the humanoid skeleton so its good check them.
- Next click on Configure to check the bone mapping. Usually Unity will find the right bone
- Click on Mapping and then click on Load
- Navigate to Noitom --> PerceptionNeuron and load the file PNS Human Template.ht.
- Make sure you have all the right bones mapped to the correct body segments inside each of the tabs for Body
- Click Apply -->Done
- Load the scene you want to use your model in. Click and drag your model into the Hierarchy tab
to load it into the scene. - Select your model in the Hierarchy tab and click on 【Add Component】in the inspector window.
IN the search field type “Neuron” and select the script “NeuronTransformInstance.cs”. - Attach the avatar to the Neuron Source Manager as a child
- Click on Play in Unity to see the motion being applied to your new model
c
Comments
0 comments
Please sign in to leave a comment.