http://www.digitaltutors.com/tutorial/1749-Using-the-3D-Camera-Tracker-and-Integrating-Graphics-in-After-Effects