2
$\begingroup$

I am slowly starting to get to grips with Blender basics, but i am currently stuck.

I made a very basic scene using a hdri backround. I would like to create a plane that would "block" the rendering of an object so that it will look like the object is moving around the corner of the building.

The image shows the effect I am trying to create. The sphere on the right needs to be partially hidden by a plane and the background rendered as if there was nothing in front of it.

enter image description here

I looked at this example : Create invisibility cloak (alpha mask material) When I enable the Film->Transparent option the plain in front of the sphere does partially block the rendering of the sphere, but then I have no background.

hdri background : enter image description here

$\endgroup$
2

1 Answer 1

3
$\begingroup$

Your link is broken so I can't see the method you're using.

You can continue like you are and render two images: one of the spheres with transparency on, one of just the background, and then composite them with the Compositor. I don't believe you can use Render Layers here because the Tranparent option is not render-layer specific.

Or you can do what I did and use a cube to act as the building corner with the Boolean Modifier enabled:

enter image description here

enter image description here

Just make the corner cube invisible and set the following options:

enter image description here

enter image description here

$\endgroup$
3
  • $\begingroup$ Do you also have a modifier on the building corner cube ? I followed your instructions : set the BuildingCorner not visible and not rendered. Add the boolean modifier to the Pedestrain with difference to the building corner. But it renders just the Pedestrain cube then. What did I miss ? $\endgroup$ Commented Jun 25, 2017 at 15:09
  • $\begingroup$ Oh okay I understand what you where doing. The Pedestrian is subtracted where the two bodies overlap. The pedestrian moves into the Building corner more and more and less is render. Very good and clever idea. I thank you. $\endgroup$ Commented Jun 25, 2017 at 15:26
  • $\begingroup$ You got it! You're very welcome. $\endgroup$
    – bertmoog
    Commented Jun 25, 2017 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .