in

WPF Design and Development

IdentityMine Team Blogs

Sajiv Thomas

WPF DataBinding, 3D, Graphics, Controls, Silverlight

April 2007 - Posts

  • WPF 3D Clock

    Here is a WPF 3D Clock which I developed as a part of WPF 3D learning. It is a 3D model of a clock which shows the current system time. So, the dial, hands, casing for the clock are all 3D Models. I have written a simple Radial Panel to layout the digits on the dial. Once the digits were laid out using the panel, I used it to create a visual brush. This visual brush was in turn applied to 3D-Plane as the material. The hands are rotated on every tick of a ‘DispatcherTimer’. As a whole, it was a very good learning experience. This application uses a ‘trackball’ which is freely available as part of 3DTools. You can use the trackball to rotate the clock and also to Zoom In/Out. Thanks to WPF which makes it relatively easy to develop interesting UI. Source code is attached for reference.

    Posted Apr 02 2007, 11:48 PM by Sajiv with 1 comment(s)
    Filed under:
More Posts
© 2007 IdentityMine, Inc.
Powered by Community Server (Commercial Edition), by Telligent Systems