Here's the Maya script I use to do this more quickly: Create a measure tool, move one locator to the focal point, and parent the other locator to the camera Then paste this into the script editor or the Command Line in the lower left of the screen: connectAttr -f distanceDimension1.distance cameraShape1.focusDistance; Way faster, and you can even save it into a Shelf button
@EmilyMcDougallArt3 жыл бұрын
Genius! Thank you so much for sharing!
@Double_Vision3 жыл бұрын
@@EmilyMcDougallArt My pleasure! Here's the script if you want to use Arnold's aiFocusDistance attribute instead: connectAttr -f distanceDimension1.distance shotCamShape.aiFocusDistance"; I name my render cameras as shotCam, so you'll likely need to rename shotCamShape to cameraShape1, or to whatever you have your camera named as
@hyperface20503 жыл бұрын
@@Double_Vision I'm guessing you need to add the word SHAPE in your first term like this. connectAttr -f distanceDimension1Shape.distance shotCamShape.aiFocusDistance;
@hyperface20503 жыл бұрын
Thanks for this!
@defonten5 ай бұрын
@@Double_Vision Thanks a lot bro!
@fbory Жыл бұрын
Thnak you so much. I was doing the same with a dimension tool constraint on the center of interest for a while... but using the measured distance manually in the "Focus Distance" of Arnold field... This is gonna make me spare soooooo much time !
@icbt12 жыл бұрын
you are the one who saved me in internet
@defonten5 ай бұрын
So cool! Thanks a lot Emily!
@pechugaslarou34334 ай бұрын
Thank you very much!
@jas4animation3 жыл бұрын
Very helpful, thanks for sharing.
@elijahpryor40078 ай бұрын
Thank you for this and your other resources!
@AnnieCampbellMedical3 жыл бұрын
Awesome thanks so much Emily!
@andreabianco963 жыл бұрын
Wow thank you so much, I was curious about this thing, and you answered all my questions. Really helpful :D
@EagerSleeper Жыл бұрын
Fantastically useful!
@CONCEPT01233 жыл бұрын
perfect!
@nayandurge8877 Жыл бұрын
mam you are such a great it is very informative tutorial thank you please make more videos
@stuffsbynorik2 жыл бұрын
awesome, thanks so much for this!!
@deuksooseo3 жыл бұрын
Thanks Good video
@lastmomentplayer34203 жыл бұрын
Hey please make some more tutorial for maya please 🥺🙏