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

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 22

  • @Double_Vision
    @Double_Vision 3 года назад +9

    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 года назад +1

      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 7 месяцев назад

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

  • @icbt1
    @icbt1 2 года назад

    you are the one who saved me in internet

  • @defonten
    @defonten 7 месяцев назад

    So cool! Thanks a lot Emily!

  • @elijahpryor4007
    @elijahpryor4007 10 месяцев назад

    Thank you for this and your other resources!

  • @jas4animation
    @jas4animation 3 года назад +1

    Very helpful, thanks for sharing.

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

  • @pechugaslarou3433
    @pechugaslarou3433 6 месяцев назад

    Thank you very much!

  • @TalosCreative
    @TalosCreative 12 дней назад

    Just found this gem and see that there aren't any newer videos. Shame, but hope you are busy with better things to do ;)

  • @EagerSleeper
    @EagerSleeper 2 года назад

    Fantastically useful!

  • @nayandurge8877
    @nayandurge8877 2 года назад

    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

  • @lastmomentplayer3420
    @lastmomentplayer3420 3 года назад

    Hey please make some more tutorial for maya please 🥺🙏

  • @contactsan12
    @contactsan12 Год назад

    What was the end result man ??