Тёмный

Fspy importer for Maya - Easy camera match 

cgside
Подписаться 6 тыс.
Просмотров 11 тыс.
50% 1

In this tutorial I am going to show you how to import a camera match directly from Fspy into Maya, using a script available online, but customizing it so it imports all the information, including the focal length and setting the correct resolution in Maya.
Follow up tutorial:
• HDRI projection workfl...
Resources:
fspy.io/
github.com/JustinPedersen/may...
Let me know if you enjoyed this video.

Опубликовано:

 

23 май 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@rtytyu1
@rtytyu1 9 месяцев назад
스크립트의 일부분을 수정하는 부분을 참고하였더니 카메라 값이 더 정밀하게 읽혔습니다. 감사합니다.
@MONEYVAL9
@MONEYVAL9 Год назад
Also is there the updated script with your added sniippets or should we just type it in our selves. I would have not like to break the script with typos but if thats the only option will have to do.
@cgside
@cgside Год назад
github.com/cgside/MayaFspy_update/blob/main/Maya_fspy_update
@tlilmiztli
@tlilmiztli 2 года назад
Nice one! Planning to test 2023?
@cgside
@cgside 2 года назад
Hey there. Should work fine in 2023, since Maya 2022.3 uses also python 3.
@tlilmiztli
@tlilmiztli 2 года назад
@@cgside Very cool, will give it a try. I moved to Maya from Blender and I was missing Fspy functionality :)
@user-kq2tz1td3y
@user-kq2tz1td3y 2 года назад
GOOD😀
@20mi
@20mi Год назад
my view camera is match but render camera not, which is same camera and same res. idk how to fix it
@cgside
@cgside Год назад
Were you able to solve it? It's been a while since I used this script honestly.
@ellobo.design
@ellobo.design 2 года назад
Could you put the edited code available ?
@cgside
@cgside 2 года назад
Sure, here you go: github.com/cgside/MayaFspy_update/blob/main/Maya_fspy_update Let me know if this works ;)
@ellobo.design
@ellobo.design 2 года назад
You have just begun, but the content is already awesome. Thanks. Keep going.
@navinkumararya
@navinkumararya Год назад
@@cgside Not working- Image not imported
@ishikaa_budhiraja
@ishikaa_budhiraja Год назад
hey, im not able find version 2.0 and not able to download pymel s well. kindly help me. i need to work this urgently
@cgside
@cgside Год назад
If you're in a rush try this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OvsDfgMkljA.html . Honestly it's been a while since I used Maya so haven't used this script lately. Couldn't find version 2.0 either for some reason, if you really want to use this script search on how to install pymel in Maya.
@cgside
@cgside Год назад
help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-2AA5EFCE-53B1-46A0-8E43-4CD0B2C72FB4
@AnnabelleG96
@AnnabelleG96 2 года назад
I'm not sure what I do wrong.. I imported the code and it's not matching the resolution gate and the focal length :( and the perspective is not at all accurate inside maya even though it worked in fspy. sigh.
@AnnabelleG96
@AnnabelleG96 2 года назад
nevermind it works! Not deleting first comment to help the algorithm.
@TheSeeSquare
@TheSeeSquare Год назад
@@AnnabelleG96 Hey I'm facing this same issue, Did you find any solution for this?
@MosquitoHater
@MosquitoHater 9 месяцев назад
@@TheSeeSquare Did any of you find a solution for this? ^^
@alexsuttie16
@alexsuttie16 10 месяцев назад
Any chance we can update fSpy so it will run on maya 2023?
@cgside
@cgside 10 месяцев назад
You'll have to ask on the GitHub page for the script update, as I am not the author. The main problem is pymel as it doesn't ship by default in newer versions of Maya .
@johnwalker4787
@johnwalker4787 2 года назад
F-spy not working on 3 point perspective images in Maya. Any solutions ?
@cgside
@cgside 2 года назад
Hi. I can confirm that this is an issue. May be related to the fact that the ".json" file doesn't export information about the z axis (3rd vanishing point). Will check if it's possible to fix this.
@johnwalker4787
@johnwalker4787 2 года назад
@@cgside If possible can you make a tutorial on perspective matching images in 3DS max perspective match tool and bringing that camera to Maya. I have heard that this could work but couldn't find a tutorial on this. It's shame that industry standard tool like Maya doesn't have a built-in tool for perspective matching.
@cgside
@cgside 2 года назад
@@johnwalker4787 You can use the blender workflow and import it to Maya. Should work. No need for 3ds max, watch this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OvsDfgMkljA.html&ab_channel=OnMars3D
@MONEYVAL9
@MONEYVAL9 Год назад
I cant seem to get the default script download to work. Keeps spitting out this error # Error: ModuleNotFoundError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py line 142: No module named 'pymel' #
@MONEYVAL9
@MONEYVAL9 Год назад
Im using maya 2022, and i got the fSpy download from the github page.
@cgside
@cgside Год назад
Hey, try to use version 2.0 of the script which doesnt use pymel (the module you're missing). github.com/JustinPedersen/maya_fspy/tree/v2.0.0 Another workaround is to install pymel for maya. Cheers.
@MONEYVAL9
@MONEYVAL9 Год назад
@@cgside I got it to work by installing pymel throught the command line. Thanks
@nothugo9207
@nothugo9207 2 года назад
Hey don't know if you'll see this but I got an error when trying to do the import python code # Error: ModuleNotFoundError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py line 142: No module named 'maya_fspy'
@cgside
@cgside 2 года назад
Hi, not sure why you have that error. Do you have pymel installed? That could be the reason. Also make sure you have the correct path: imgur.com/a/U7IReCk
@theapexpredator157
@theapexpredator157 Год назад
@@cgside I'm getting this error " # Error: ModuleNotFoundError: file line 1: No module named 'maya_fspy' " I have everything on a different drive too and I don't want to change it to C. Any way I can workaround this?
@MSJDesign
@MSJDesign 6 месяцев назад
You've installed the script in the wrong place.
@MSJDesign
@MSJDesign 6 месяцев назад
Youve installed the script in the wrong place@@theapexpredator157
@chaandkhan6696
@chaandkhan6696 4 месяца назад
i just checked, fspy can also run un maya 2023
@agroprom9751
@agroprom9751 Год назад
Maya 2018. It doesn't work for me, the camera is in the center of the coordinate grid. And there is no image plane.
@cgside
@cgside Год назад
I am not sure if the original script supports Maya 2018, that might be the issue. Also there was a big change to python 3 in recent versions of Maya.
@agroprom9751
@agroprom9751 Год назад
@@cgside It helped deleting the old "maya" folder C:\Users\xxx\Documents\maya
@eliassojeda4778
@eliassojeda4778 Год назад
Can you share us the core.py file?
@cgside
@cgside Год назад
Just add the GitHub code provided here in comments in the core.py file, there is no other code I am adding besides that. Cheers
@eliassojeda4778
@eliassojeda4778 Год назад
@@cgside Thank you
@xManoloFehnx
@xManoloFehnx Год назад
I think Maya 2024 broken this Script :(
@cgside
@cgside Год назад
Hey, I believe thats because it uses pymel and Maya 2024 doesn't ship with it. There is an updated version on the author's GitHub that doesn't use pymel. The bit that I wrote doesn't use it either. The other option is to install pymel manually. Haven't used Maya in a while. Cheers
@xManoloFehnx
@xManoloFehnx Год назад
@@cgside Yup, works perfectly with the update version, thanks for ur help. :)
@mdmiguel2007
@mdmiguel2007 4 месяца назад
hello I'm editing the core.py and adding this code, with notepad, as seen in the video but when I add it stops working. As much as I check I can't find the error. Can anyone see what I can be doing wrong? thank you hfa = pm.camera(camera_shape, q=True, hfa=True) mm = hfa*25.4 fl = data['relativeFocalLength']*mm/2 pm.camera(camera_shape, e=True, fl=fl) renderWidth = data['imageWidth'] renderHeight = data['imageHeight'] pm.setAttr('defaultResolution.width', renderWidth) pm.setAttr('defaultResolution.height', renderHeight) aspRatio = float(pm.getAttr('defaultResolution.width'))/float(pm.getAttr('defaultResolution.height')) pm.setAttr('defaultResolution.deviceAspectRatio', aspRatio)
@cgside
@cgside 4 месяца назад
Hey, it's been a while since I touched Maya. Here's a more up to date script : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DOETNKpM2Ls.htmlsi=SQ6Ff9HU4ce8jaN8
@mdmiguel2007
@mdmiguel2007 4 месяца назад
@@cgsidethank you very much
Далее
Camera Match in Maya with fSpy and Blender
23:47
Просмотров 25 тыс.
Creating Waterdrops in Maya 2022
8:42
Просмотров 15 тыс.
best way out of the labyrinth🌀🗝️🔝
00:17
Easy Camera Match in Maya and Blender
16:20
Просмотров 21 тыс.
How to Match a Photo with F-Spy
13:48
Просмотров 11 тыс.
Environment Art Mastery - Deep Dive
19:51
Просмотров 62 тыс.
Tutorial - How to use fSpy with Blender
8:04
Просмотров 68 тыс.
Perspective matching with a single image in maya
12:28
Simple Camera Projection in Maya
34:57
Просмотров 18 тыс.
Stunning Product Ads To Impress Clients and Make Money
21:24
Maya: Camera Match
18:46
Просмотров 26 тыс.