No video

Fspy importer for Maya - Easy camera match

  Рет қаралды 11,195

cgside

cgside

Күн бұрын

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/Jus...
Let me know if you enjoyed this video.

Пікірлер: 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 :)
@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
@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.
@user-kq2tz1td3y
@user-kq2tz1td3y 2 жыл бұрын
GOOD😀
@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
@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: kzfaq.info/get/bejne/hdyjd8mYstHQmnU.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
@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
@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 10 ай бұрын
@@TheSeeSquare Did any of you find a solution for this? ^^
@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. :)
@alexsuttie16
@alexsuttie16 11 ай бұрын
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: kzfaq.info/get/bejne/hdyjd8mYstHQmnU.html&ab_channel=OnMars3D
@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
@mdmiguel2007
@mdmiguel2007 5 ай бұрын
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 : kzfaq.info/get/bejne/erV1h7F81bOWfKc.htmlsi=SQ6Ff9HU4ce8jaN8
@mdmiguel2007
@mdmiguel2007 4 ай бұрын
@@cgsidethank you very much
@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
Camera Match in Maya with fSpy and Blender
23:47
On Mars 3D
Рет қаралды 25 М.
Creating Waterdrops in Maya 2022
8:42
cgside
Рет қаралды 15 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 14 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 28 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 42 МЛН
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 25 МЛН
Easy Camera Match in Maya and Blender
16:20
Nexttut
Рет қаралды 21 М.
Procedural Modeling with Houdini 20.5 Tools
29:09
cgside
Рет қаралды 1,8 М.
How to Match a Photo with F-Spy
13:48
What Make Art
Рет қаралды 11 М.
Tutorial - How to use fSpy with Blender
8:04
Sanning Arkitekter
Рет қаралды 68 М.
Perspective matching with a single image in maya
12:28
Tutor
Рет қаралды 33 М.
Maya: Camera Match
18:46
Tim Wetzel
Рет қаралды 26 М.
Simple Camera Projection in Maya
34:57
Mathew R
Рет қаралды 18 М.
Hidden Features and Secrets in Maya
14:39
mario @ elementza
Рет қаралды 39 М.
Chaos Vantage vs Unreal Engine 5 | in Interior Arch-Viz
6:33
MIMViz Studio
Рет қаралды 36 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 14 МЛН