gyroflow/gyroflow-ofx

Write out euler rotation in plugin UI?

EmberLightVFX opened this issue · 4 comments

I was working on updating my Gyroflow-to-CSV script to work with the latest gyroflow format but I was thinking it would be a better idea to kind of integrate the functionality into the ofx plugin itself.
I'm not that knowledgeable with OFX but my idea would be if it was possible to add a new group called "data" or equal.
In there you would have the 3 euler values for X, Y and Z printed out so other tools could connect to them through expressions.

Is it possible to generate keyframes from within the OFX plugin? If possible it would be the best is the plugin could generate them so the plugin doesn't need to re-process for each frame. If it's not possible the user might just have to manually enable keyframe for the rotation parameters so it gets cached.

I was also thinking about it recently, both as values in plugin and an option to export CSV directly from Gyroflow app. It's definitely worth adding. I was even considering generating an FBX camera. Is that the most common format? What are other formats that VFX programs accept that can import a camera?
Although our camera only includes camera matrix (focal length) and rotations, without translations (3d position), but I think that's still useful

I was also thinking about it recently, both as values in plugin and an option to export CSV directly from Gyroflow app. It's definitely worth adding.

One big + on this! Being able to export a CSV (and maybe FBX) directly from Gyroflow would help to integrate the data into softwares that can't read OFX plugins.
Being able to fetch it from the OFX plugin would still be a very good addition as you quickly could update parameters and get real-time update to the rest of the flow.

I was even considering generating an FBX camera. Is that the most common format? What are other formats that VFX programs accept that can import a camera?

Most DCCs can import FBX but you also have Alembic (ABC) and USD. I would say go with the most easy one.

Although our camera only includes camera matrix (focal length) and rotations, without translations (3d position), but I think that's still useful

Getting the rotation for free without the need to do any manual camera track is very useful for far away set-extensions and sky replacements, so it's very useful to have! Some tracking softwares can also use help-data so being able to feed in the rotation information will help to get a better solid track :)

Hi.

One idea I had would be for the OFX plugin to simply write the XYZ rotation values or a transform matrix into the image metadata stream. Then EXR format images would have that information stored internally. Also compositing tools could grab the metadata records and work with them down-stream in the comp.

USD ASCII is a very simplistic format if you are looking for a 3D camera export option that could be written to a file on disk without requiring more external libraries to be required as dependencies when compiling GyroFlow.

One idea I had would be for the OFX plugin to simply write the XYZ rotation values or a transform matrix into the image metadata stream. Then EXR format images would have that information stored internally. Also compositing tools could grab the metadata records and work with them down-stream in the comp.

Oh true! If OFX can write metadata to the stream that would be the super great!!