Simple UI to import fSpy files into Autodesk Maya
This is the non-official importer for fspy json data into Autodesk Maya. fSpy is an open source, cross platform app for still image camera matching. See fspy.io for more info. If you have found this tool helpful in anyway please consider donating to the origional creators on the fspy.io website.
This is by no means a perfect import and some tweaks might be required but its sure as hell better than placing an image plane and camera by hand.
The below images show fSpy project (top) and a matching Maya camera created by the importer (bottom).
..\Documents\maya\<version>\scripts\maya_fspy
import maya_fspy.ui as mfspy_ui
mfspy_ui.maya_fspy_ui()
Export Camera settings as json from FSPY, making sure that the file you exported has the .json
extension. The Maya importer does not accept .fspy
files like the Blender plugin, it will only accept a .json
file.
(File/Export/Camera parameters as JSON)
Note that you will need to configure some settings within the fspy application so that the settings carry over into Maya correctly. Vanishing points axes: -Z , -X Reference distance: Along the y axis
See above screenshot of the standalone application if you are not sure.
If you are able to test on any other maya versions please let me know so I can update it here.
Huge thanks to the peeps over at https://github.com/stuffmatic/fSpy for this kickass application! Also big thanks to Jascha Wohlkinger for helping me out with some of the matrix stuff on the Maya side!