This hosting is not for free. You might want to consider disabling AdBlock or other extensions hiding ads. I'd appreciate that! Even if you don't do that, this web is fully functional so don't worry.

Privacy Terms

Compositing Particles/Smoke Around 2D Video Object - Blender

Compositing rotating particles/smoke/objects around object in 2D video

Just three quick ways regarding this problem. I couldn't find the solution anywhere so decided to share the method. This is a general problem of compositing 3D effect or object that lies both in front and behind an object in 2D footage.

Problem:

Having a footage of a person, wanting to add 3D particles to circle around this person. Where is the catch? We can render particles rotating around certain point in 3D scene but how do we add them to the footage in compositor? Part of the rendered particles need to be behind the person and part in front of it. Simply using a mask won't do if the particles at the back are right behind the ones in the front.

Solution:

In fact we can use a mask, but we need to tell the compositor that there are some objects that are going to appear in front of the mask. So we take the mask node with the mask around our person, and we multiply it with Z-depth value from the render input node. Also, we need to put a math node with greater than function in the depth connection to choose from which depth the object should appear in front of the mask. This might however not work with volumetric effects such as smoke.

Second, more versatile way is to create a grid or Bezier surface. Animate it around the person in 3D in a similar way as when creating a mask (you can use Background Images in camera attributes to see the video in the 3D scene) and then assign a Holdout shader to this mask object. Anything behind it will be invisible.

Holdout masking object in Blender
Using holdout masking object

And that's all. Quick and simple!

Published:

Keywords: blender,compositor,masking
#blender #blendertutorial #blendervfx #vfx #filmmaking

You might also be interested in these articles:

3D Voronoi Shattering on GPU

Who Were the Angels in the Bible?

How Apple Cider Vinegar Helped Me with Cysts in My Hair

Top 10 Deep Books Related to Religions but Not Too Religious

How Not to Burnout - When You Decide to Do Everything as Fun

Comments

Write a new comment:

All the comments are reviewed before publishing! Meaningless posts are automatically refused.

Be the first legendary hero and write a message that will last for ages!