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
Motive file format?
-
- NaturalPoint Employee
- Posts: 720
- Joined: Mon Jan 19, 2015 11:52 am
Re: Motive file format?
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.
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
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 =----
Best regards,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer