Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Make a layer unaffected by camera depth of field?

  • Make a layer unaffected by camera depth of field?

    Posted by James Berry on November 22, 2014 at 11:48 am

    I have a 3D comp that comprises several layers laid out in 3D space. I’m moving the camera forward towards the layers, with depth of field turned on so that as the camera moves towards them they individually come into (and out of) focus.

    However, I have one layer that I want to put into the middle of the other layers that I’d like to have stay in focus all the time. Is there an easy way to achieve this? Note that the other layers do move in front and behind of the layer that I want to keep in focus.

    For the sake of a better description, imagine a row of a couple of dozen dominoes, laid out into the horizon, and in the middle of the row is one domino that I want to remain unaffected by the camera’s depth of field.

    James.

    James Berry replied 11 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Graham Macfarlane

    November 22, 2014 at 4:51 pm

    Hi James,

    First finalise your comp with all your layers set up and the camera depth of field and motion the way you want.
    To get one layer with no depth of field (let’s call it the sharp layer):

    * Duplicate your camera two times
    * Precomp one camera with all layers in front of the sharp layer (call it preompFG).
    * Precomp the second camera with all the layers behind the sharp layer. (call it precompBG).
    * The remaining camera goes with the sharp layer, and has it’s depth of field switched off
    * Then just arrange the layers:

    preompFG
    Camera (no depth of field)
    sharp layer
    precompBG

    Graham Macfarlane – CGI specialist
    Elyarch Ltd – London UK

    3D Studio Max | Vray | Pflow | PhoenixFD | After effects | Mocha

  • James Berry

    November 22, 2014 at 8:29 pm

    Thank you very much for the info, Graham. I appreciate it.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy