DCSIMG
WPF,MediaElement - David Sackstein's Blog

Browse by Tags

All Tags » WPF » MediaElement (RSS)

Mapping MediaElement onto a Sphere with WPF by David Sackstein

In my previous post I created a 3D cube, mapped a MediaElement onto each of its faces and animated the camera around the cube. In this post, I will replace the 3D cube with a sphere and wrap the video onto the surface of the sphere. I omit the camera animation for simplicity, but you can add it back, of course. You can download the source code here . In order to create the sphere mesh I made use of Charles Petzold’s elegant SphereMeshGenerator. In Chapter 6 of his book (3D Programming for Windows...
תגים:, , , ,
Powered by Community Server (Commercial Edition), by Telligent Systems