Today I learn how to composite a 3D object made in Cinema 4D into a video clip while keeping the perspective of the camera for the 3D object.
This is intact a fairly straight forward process that i will go through now.
First things first I imported the orginal video clip and then added an animation known as track camera.
This tracks the 3D object so that the object has perspective and looks somewhat realistic within the vide. You then have to go into the advance settings of 3D Camera tracker and enable detailed analysis.
This then generates tracking points with different levels of accuracy, which is colour coded. Green means it is a good track and the red has the lowest level of accuracy.
After doing this you need to find a point in which it is level with the surface you want to put the 3D object onto. This can be somewhat tricky but after fiddly a bit you should find it no issue. This should look something like this.
You also have to add a reference point, which is done by right clicking and adding a solid and camera.
When added it should look like this:
This is the solid object you just created this follows the camera around giving it perspective. Now you have to export it into cinema 4D.
When then opened in cinema 4D it should look like this.
The next step is to import the 3D object into this new camera tracking project. Then you will have to line the object up with the solid square.
You then have to to save the file, making sure that Alpha channel is selected. I made mine into a Tiff. You then import the file back into after effects and the finished project should look like this.
The camera will now move around the 3D object giving a realistic perspective.