https://drive.google.com/file/d/0B4e67L-fbWVQNnVlRlpLcDRCb1k/view?usp=sharing
Here is my research so far. Its been about 3 years I did not touch it. Maybe it can be off some use. At this template I only demonstrating how to open Camera and put a 3D picture on the screen. The real power of this template is bigger than that, it can do face recognition, tracking object, 3D rendering, motion capture et cetra. But I have not had the chance to show it all to you. For now, I only demonstrate how to do 3D rendering along with the shadow and how to open the camera.
I hope it can benefit you something.