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"
- Touch gesture can rotate and scale 3D teapot (Touch button).
- Moving Windows Phone can rotate 3D teapot via accelerometer and compass (Gravity button).
- Display video via Photo Camera of Windows Phone as background of 3D teapot
Camera On/Off button.
- Shared graphics device, using both XNA and Silverlight
- Original Teapot class, using IVertexType based custom vertex and BasicEffect to render
- Accelerometer and Compass, getting gravity and north
- PhotoCamera, display view from camera as background of virtual object