This project is read-only.

Project Description

Argument Reality sample application for Windows Phone "Mango", which display virtual teapot in front of real video via photo camera. Accelerometer and Compass control the orientation of teapot based on Phone's orientation.
This sample is developed in C# with XNA and Silverlight.



This sample requires Windows Phone SDK 7.1 for build and Windows Phone "Mango" for work.


  1. Touch gesture can rotate and scale 3D teapot (Touch button).
  2. Moving Windows Phone can rotate 3D teapot via accelerometer and compass (Gravity button).
  3. Display video via Photo Camera of Windows Phone as background of 3D teapot Camera On/Off button.


  1. Shared graphics device, using both XNA and Silverlight
  2. Original Teapot class, using IVertexType based custom vertex and BasicEffect to render
  3. Accelerometer and Compass, getting gravity and north
  4. PhotoCamera, display view from camera as background of virtual object

Last edited Jul 26, 2011 at 8:11 AM by hiroyuk, version 8