Bagikan melalui


Rotating 3D earth in WPF

3D stuff in WPF is cool aint it? Last week I was playing around with some more 3D stuff and I came up with this rotating globe.

The code is attached along with the pics of earth and saturn :). It basically consists of a mesh on which the pic is used as a DiffuseMaterial brush. The rotation is performed by animating the angle on the rotationTransform. Mess around with the code and you could come up with some nice configurations :)

rotating earth.zip