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.

MangoTeapot2.jpg

Requirement

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

Features

  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.

Techniques

  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 7:11 AM by hiroyuk, version 8