Maya Tutorial: Autofocus camera using connection editor for Depth of Field. Arnold & Redshift

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 21

  • @Double_Vision
    @Double_Vision 3 ปีที่แล้ว +8

    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

    • @EmilyMcDougallArt
      @EmilyMcDougallArt  3 ปีที่แล้ว

      Genius! Thank you so much for sharing!

    • @Double_Vision
      @Double_Vision 3 ปีที่แล้ว +4

      @@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

    • @hyperface2050
      @hyperface2050 3 ปีที่แล้ว

      @@Double_Vision I'm guessing you need to add the word SHAPE in your first term like this.
      connectAttr -f distanceDimension1Shape.distance shotCamShape.aiFocusDistance;

    • @hyperface2050
      @hyperface2050 3 ปีที่แล้ว

      Thanks for this!

    • @defonten
      @defonten 6 หลายเดือนก่อน

      @@Double_Vision Thanks a lot bro!

  • @fbory
    @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 !

  • @defonten
    @defonten 6 หลายเดือนก่อน

    So cool! Thanks a lot Emily!

  • @icbt1
    @icbt1 2 ปีที่แล้ว

    you are the one who saved me in internet

  • @elijahpryor4007
    @elijahpryor4007 8 หลายเดือนก่อน

    Thank you for this and your other resources!

  • @AnnieCampbellMedical
    @AnnieCampbellMedical 3 ปีที่แล้ว +1

    Awesome thanks so much Emily!

  • @andreabianco96
    @andreabianco96 3 ปีที่แล้ว

    Wow thank you so much, I was curious about this thing, and you answered all my questions. Really helpful :D

  • @jas4animation
    @jas4animation 3 ปีที่แล้ว +1

    Very helpful, thanks for sharing.

  • @pechugaslarou3433
    @pechugaslarou3433 5 หลายเดือนก่อน

    Thank you very much!

  • @EagerSleeper
    @EagerSleeper 2 ปีที่แล้ว

    Fantastically useful!

  • @nayandurge8877
    @nayandurge8877 ปีที่แล้ว

    mam you are such a great it is very informative tutorial thank you please make more videos

  • @CONCEPT0123
    @CONCEPT0123 3 ปีที่แล้ว +1

    perfect!

  • @stuffsbynorik
    @stuffsbynorik 2 ปีที่แล้ว

    awesome, thanks so much for this!!

  • @deuksooseo
    @deuksooseo 3 ปีที่แล้ว

    Thanks
    Good video

  • @contactsan12
    @contactsan12 ปีที่แล้ว

    What was the end result man ??

  • @lastmomentplayer3420
    @lastmomentplayer3420 3 ปีที่แล้ว

    Hey please make some more tutorial for maya please 🥺🙏