Page 1 of 1
Motive file format?
Posted: Tue May 03, 2016 6:02 am
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
Re: Motive file format?
Posted: Tue May 03, 2016 2:20 pm
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