4

With my trial and error learning, I managed to track a video in Blender 2.67 and make a cube (the one which is there by default) appear on the "ground" (which is a table).

But how can I make a hole in the ground?


Edit:

I used the two buttons shown below:

Blender motion tracking

The two functions seems to do a bunch of things to the scene, which seems to include setting the background and foreground layers, and adding a Ground object to the scene.

The problem is, what do I need to do to create a hole that appears to sink into the table?

iKlsR
  • 43,379
  • 12
  • 156
  • 189
Alvin Wong
  • 1,168
  • 2
  • 9
  • 22
  • 2
    Have you seen this tutorial? – grc Jun 02 '13 at 04:25
  • seems to me like you could skip all the way to 39 minutes in that video: https://www.youtube.com/watch?v=CVPcT0dJmoY#t=2391s – zeffii Jun 02 '13 at 07:12
  • @grc Just watched it and I think I get it. Still need someone to place a good answer for me to accept. – Alvin Wong Jun 02 '13 at 08:06
  • @AlvinWong you are also free to make an answer to your own question if you feel you can explain it. – zeffii Jun 02 '13 at 14:28
  • In concluding, this question is extremely broad and is not an ideal question for the scope of this site, not to mention incorrectly titled. – iKlsR Jun 02 '13 at 19:33
  • 2
    @AlvinWong the question is in danger of being closed, perhaps you might modify the question to how to mask / prevent specified geometry from being rendered. – zeffii Jun 02 '13 at 20:12

3 Answers3

4

Firstly, you need to create the shape of the inside of the hole and make sure the object is on the foreground layer.

After that, you need to crop the generated Ground object to remove an area which matches the opening of the hole.

Here is the result (not realistic, just to show that it works):

Result

This is the way I did it. I guess this might not be the best way to do it, but it works.

I am not familiar with Blender terminology. If someone is willing to post a more detailed or better answer, I would be glad to accept it.

Alvin Wong
  • 1,168
  • 2
  • 9
  • 22
3

There are several options, depending on which render engine you use.

for Blender Internal:
For a quick and dirty solution you could use a large plane for the floor, with your sink-hole chopped out of it, and enable transparency on the material associated with the plane, Then enable Mask and set the Alpha to 0.0. The ground plane won't be visible any more in the render, but it will still occlude the geometry that you don't want to see.

for Cycles using Holdout:
Enable Transparent in Properties > Render > Film and give the occluding geometry a Holdout material.

zeffii
  • 39,634
  • 9
  • 103
  • 186
0

What I do the most for this, is to simply model the shape of the hole and put that geometry in a specific layer (alone). Then, composite the alpha channel of that render layer and the video with the "set alpha" node and you get a hole in your video. Then you can composite, the cube you modeled for the hole, and the video with an "alpha over" node.

Example

sekce
  • 1,257
  • 8
  • 18