MVN Unity Plug In User Manual
User Manual:
Open the PDF directly: View PDF .
Page Count: 7
Download | ![]() |
Open PDF In Browser | View PDF |
MVN Live Animation plug-in User Manual v1.0 Document MV0306P, Revision G, July 2013 Xsens HQ (Enschede, NL) Xsens US office (Los Angeles, USA) Phone +31 88 97367 00 +1 310-481-1800 Fax +31 88 97367 01 +1 310-416-9044 Email info@xsens.com internet www.xsens.com Revisions Revision G Date July 2013 By SBU Changes Created for Unity Live plug-in © 2013, Xsens Technologies B.V. All rights reserved. Information in this document is subject to change without notice. Xsens, MVN, MotionGrid, MTx, and KiC are registered trademarks or trademarks of Xsens Technologies B.V. and/or its parent, subsidiaries and/or affiliates in The Netherlands, the USA and/or other countries. All other trademarks are the property of their respective owners. Unity is a trademark of Unity Technologies. © Xsens Technologies B.V. 1 MV0306P. G MVN Live Animation plug-in Table of Contents 1. INTRODUCTION ....................................................................................................................................... 3 1.1 1.2 2. CHARACTER TOOL IN MAYA ............................................................................................................................. 3 STREAMING TO UNITY DEVICE .......................................................................................................................... 3 GETTING STARTED................................................................................................................................... 4 2.1 2.2 2.3 SETTING UP THE MVN DEVICE.......................................................................................................................... 4 SETTING UP UNITY ......................................................................................................................................... 5 CUSTOMER SUPPORT...................................................................................................................................... 6 © Xsens Technologies B.V. 2 MV0306P. G MVN Live Animation plug-in 1. Introduction Xsens MVN Studio, developed by Xsens, is the main software tool for interfacing with the MVN inertial motion capture suit. MVN Studio allows the export of motion capture data to third party applications such as Unity, Maya, XSI, 3D Studio Max, MotionBuilder, etc. making the data available to drive rigged characters in animation and more. The data transfer to other applications is primarily file based (export) when using MVN Studio. However, in many scenarios it is attractive to keep the ease of use of MVN Studio, but still being able to receive and process the motion capture data in real-time in another application, even on a another PC, possibly physically remote from the MVN system. To this end, MVN Studio can act as a server on a network and stream motion capture data in real-time to a client PC running a client application. This document specifically treats the use of a certain client application able to receive motion capture data in real-time, Unity 4. 1.1 Character tool in Maya The easiest way for MVN to send the complete full-body motion capture data to another application is to send the 3D positions and 3D rotations of each bone directly. MVN Studio is able to do this in real-time streaming over the network (quaternion and Euler based rotations). The Quaternion based protocol especially developed for Unity is currently used to stream to Unity. On the receiving end Maya uses a gimbal killer in real-time and applies the data onto the MVN character. 1.2 Streaming to Unity device To get optimal results, the streaming settings from MVN Studio to Unity have to be set correctly. It is recommended to set MVN Studio to stream 30 fps. This can be done by using the ‘Down sampling skip factor’. Motion data sent by MVN Studio is sent in real-time to Unity time wise. However both MVN Studio and Unity are operating on a non-real-time operating system, so timing cannot be guaranteed in the Viewer. Additionally depending on system resources Unity is not able to process all incoming data. Timing of the incoming frames is done on the basis of best effort by Unity. © Xsens Technologies B.V. 3 MV0306P. G MVN Live Animation plug-in 2. Getting Started 2.1 Setting up the MVN device 1. 2. 3. Open MVN Studio Open an MVN file, MVNX file or use the MVN suit in live setup Go to: Options Preferences Miscellaneous Network Streamer 4. 5. Make sure you check ‘Enable network streaming’ When recording in 120Hz, set ‘Down sampling skip factor’ to 3. This will down sample the frame rate to the natively supported 30 fps for Unity Set “Protocol and dataset” to Unity3D Input an IP-address of the client PC (the PC where Unity is running). If it is the same PC as where MVN Studio is running, use either ‘localhost’ or ‘127.0.0.1’ 6. 7. NOTE: To test if the streaming is set-up properly, you can simply start the ‘Demo.unity’ file. You can find this in the project tab under the folder ‘Assets Xsens MvnLive Demo’. Make sure you have a file running in MVN Studio. Once you start up the Unity scene, you should see two characters move. One uses an FBX file, and the second one should receive data from MVN Studio. © Xsens Technologies B.V. 4 MV0306P. G MVN Live Animation plug-in 2.2 Setting up Unity 1. 2. Open Unity In the ‘Project’ tab go to: Assets Xsens MVNLive Prefabs 3. 4. 5. 6. Drag the ‘ColMvnPuppet’ into the hierarchy Drag the ‘MvnActors’ into the hierarchy Select ‘ColMvnPuppet’ in the hierarchy In the Inspector tab, add the ‘Xs Live Animator’ by going to: Add Component Scripts xsens © Xsens Technologies B.V. 5 MV0306P. G MVN Live Animation plug-in 7. Then, while still having selected ‘CollMvnPuppet’. Drag ‘MvnActors’ from the Hierarchy into ‘Mvn Actors’ You should now able to run the game, and stream live into Unity. The Unity plug-in supports more than one character at the same time. To do this, copy/paste the ‘ColMvnPuppet’ in the hierarchy. You can also chance the Actor ID for every ‘ColMvnPuppet’ to the desired MVN Studio stream ID (1,2,3 or 4). 2.3 Customer Support Xsens Technologies B.V. is glad to help you with any questions you may have about the MVN Maya live plug-in or about the use of the technology for your application. Please contact Xsens Customer Support: by e-mail: www.xsens.com/support telephone: Xsens HQ +31 88 97367 00 / Xsens US office 310-481-1800 To be able to help you, please mention the 8-digit number on the Xsens Sticker, you can find this between the latches of the Suitcase. © Xsens Technologies B.V. 6 MV0306P. G MVN Live Animation plug-in
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 7 Language : en-US Tagged PDF : Yes Title : Title Author : Xsens Creator : Microsoft® Word 2010 Create Date : 2013:09:09 13:54:32+02:00 Modify Date : 2013:09:09 13:54:32+02:00 Producer : Microsoft® Word 2010EXIF Metadata provided by EXIF.tools