Problem loading a project file with Motive API
Posted: Fri Feb 26, 2016 3:24 pm
I'm trying to run Motive in headless mode using the Motive API. When I call TT_LoadProject(), it returns NPRESULT_FAILED.
The code can continue on and does communicate with the Motive API -- it can enumerate the attached cameras, for instance. I would like to get the project file to load, though, since it has all my settings and rigid body definitions.
Has anyone run into this problem? Any ideas on what to check? Also, I was wondering if the Motive API is actively maintained and recommended for new projects, since the documentation was quite sparse.
I have Motive 1.9.0 installed and am using the API files from there. I've tried Motive project files from 1.9.0, 1.8.0, and a 1.5 file that I downloaded from here (https://github.com/orhirshfeld/Motive-A ... -Real-time), but they all produce the NPRESULT_FAILED error.
The code can continue on and does communicate with the Motive API -- it can enumerate the attached cameras, for instance. I would like to get the project file to load, though, since it has all my settings and rigid body definitions.
Has anyone run into this problem? Any ideas on what to check? Also, I was wondering if the Motive API is actively maintained and recommended for new projects, since the documentation was quite sparse.
I have Motive 1.9.0 installed and am using the API files from there. I've tried Motive project files from 1.9.0, 1.8.0, and a 1.5 file that I downloaded from here (https://github.com/orhirshfeld/Motive-A ... -Real-time), but they all produce the NPRESULT_FAILED error.