FxPlug API and camera data

Hi there

Quite new to the FxPlug SDK and had a look through it. I wondered whether there was a way for a plug-in to set and get the positions of tracked points that the user has set up (in a behaviour object) and whether it was possible to set keyframes on the active camera via this interface.

I can't see anything obvious in the methods, apart from a 4x4 matrix object that might relate to the active camera, I don't know, but wondered whether it might be possible if the user e.g. dropped the active camera object onto the plug-in in the Inspector view... could we get a handle on it then? Similarly if they drop an Analyze motion behaviour onto the plug in, can we get access to its track points?

Any examples that are knocking about would be very useful. Seems a lot of the documentation is a little out of date (at least that I've found so far).

In hope and with thanks,

The Fx3DAPI_v5 will supply a video processing plug-in with the matrices for the layer (model), view, and projection, as well as allowing you to get the focal length of the camera. There is no API for setting the camera. What you could do instead is write an app that outputs a Motion project. The format is XML and is fairly easy to read (if a bit verbose at times).

For connecting a plug-in's point to a tracked point, you can use parameter linking.

FxPlug API and camera data
 
 
Q