Motive file format?

NatNet, VRPN, TrackD, and Plugins
Post Reply
mrkozlowski
Posts: 1
Joined: Tue May 03, 2016 5:57 am

Motive file format?

Post by mrkozlowski »

Hello,

I want to write my own server (much like the SimpleServer application), but Motive is really convenient when it comes to defining rigidbodies. Is there a file format description for Motive project or a convenience API call to get rigidbody data from the project file?

Best regards
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 720
Joined: Mon Jan 19, 2015 11:52 am

Re: Motive file format?

Post by steven.andrews »

Hello mrkozlowski,

Thank you for reaching out to the community with your question.

The format for the rigid body files is not something that has been shared publicly, but if you are using the Motive API, you can load a rigid body file, or a project file containing your rigid bodies.

NPTrackingTools.h shows all of the calls that can be made using the Motive API. Here are the lines defining the functions you might be interested in.

Code: Select all

TTAPI   NPRESULT TT_LoadProject(const char_t *filename); //== Load Project File =======--

TTAPI   NPRESULT TT_LoadRigidBodies(const char_t *filename); //== Load Rigid Bodies =----
I hope this information helps with your work. If you require any further assistance, please feel free to contact us directly at help.naturalpoint.com

Best regards,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
Post Reply