MSDN TV Samples (Download)

 

The .zip contains the 3 samples I authored for the MSDN TV episode.  The projects should build and run with the WinFX February CTP.

 

 

The Media Cube

 

Demonstrates the use of DrawingBrush and VisualBrush to display databound 2D vector graphics, video, or even another animated 3D scene on the surface of 3D geometry.

 

Note: The video clip was shortened to 40 seconds and encoded at a very low bit-rate to make the download smaller.

 

Document Example

 

Shows a live 3D scene embedded in a flow document.  The 3D content participates in layout just like any other element.  The 3D bar chart is data bound to an XML file.  The sample is an XBAP deployed application running in partial trust.

 

DataTemplate Example

 

This example demonstrates how 3D content can be produced by a DataTemplate and how a Viewport3D can respond to UI events such as mouse input.

 

 

 

These samples allow rotation of the camera with the mouse using the trackball class from the 3D Tools for the WPF Workspace.

 

The MSDN TV bubble background that appears in all of these demos was drawn and exported from the Expression Interactive Designer.  The 3D models were authored in Blender and exporter using the Xaml Exporter (also from the 3D Tools for the WPF Workspace).

 

In the 2nd and 3rd examples the MSDN TV background is displayed on the inside of a sphere on a separate Viewport3D to create the wrap-around effect.