Disappearing head & body using segmentation or something similar...
Hi there,
I'm trying to use segmentation masks to make a body disappear on a background image. I can currently get it working with with one segmentation on the head and shoulders and in front of that I repeated the background image as an image and used an occluder that moves to make the head and shoulders seem as if they are disappearing.
I was wondering whether there was a way to create a disappearing body on a background (as in the users face and shoulders) with opacity or a type of organic Fizzle technique.
Any thoughts much appreciated!
Rich
Hi Richard,
If that's something you are looking for you can use Tween Manager to add animation of user's body alpha value
Add TweenAlpha script to the Image object that is used to render body with segmentation mask
Also in this example instead of rendering background image I've putted it as input to Camera's Render Target.
Hope this will be helpful!
That’s very helpful, thank you. One other thing. Is there a way to animate the alpha dissolve. So rather than just fade, the body disappears starting at the head and then moves down. I was initially thinking you create an animated body segmentation, but not sure that’s possible?
Any chance you could send me the file so I can see how you've set it up? Many thanks.
Rich
You can add second camera with another screen image that applies animated mask to already segmented user image. Here is sample project.
I used animated texture like this one, to gradually fill mask from top to bottom
That's fantastic. Thanks! What did you create the animation in - After Effects?