Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Maxon Cinema 4D › Depth of field through glass

  • Depth of field through glass

    Posted by Darren Case on April 9, 2010 at 3:52 am

    Hello everyone,
    I’m having a problem with the depth of field option. For some reason, it won’t work through glass (transparent material). For instance, I have 3 glass bottles, and I wanted the background to be blurred out. It blurs out the background but when you look at the glass bottles, the background is not blurred through them. I have a feeling I’m going to change a setting in the render settings.

    Any help would be amazing! Thank you!!

    Brian Jones replied 16 years, 5 months ago 3 Members · 3 Replies
  • 3 Replies
  • Adam Trachtenberg

    April 9, 2010 at 3:21 pm

    Unfortunately that is a limitation of Cinema’s DOF effect and also the built-in depth pass. There are a couple plugins that you can buy to avoid the problem (one is called zblur … can’t recall the other name). Or you can use a workaround to produce a depth pass that will allow you to do DOF in post:

    “Place an Omni light at the camera position. Check Ambient Illumination and uncheck Diffuse and Specular. Turn off shadows and all other lights. Set the Falloff to Linear and the distance to the farthest thing away you want depth defined at 100% at. You can pull out the control handle on the light in the viewport interactively. Turn off all textures and render. To get depth maps where the foreground blurs just move the Omni Light to the center of focus and adjust the falloff. You can also play with Inverse Square and other falloffs to get more focused or different falloffs on the depth map. Whether they have any correlation to real lenses I am not sure..”

  • Darren Case

    April 9, 2010 at 6:20 pm

    Hey thanks a lot! I’ll try that!

  • Brian Jones

    April 9, 2010 at 9:15 pm

    the other plugin is enDOFin I think

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