Building a Simple 3D Engine with Silverlight

Vladimir Bodurov

Even if you intend only to use existing 3D engines in your applications, it always helps to understand how they work. Vlad hopes that you ‘take the red pill’, and learn how to render three-dimensional objects with C# in Silverlight without the use of any pre-existing 3D engine.

This article will demonstrate how to build a simple 3D engine from scratch, using C# and Silverlight, which will allow you to:

  • Draw a group of lines in three dimensions
  • Rotate those lines around a central point
  • Add or remove lines

You can see the finished application here

In order to help demonstrate how these techniques work, I have developed a Silverlight demonstration application, called the Vector Visualizer, on top of the 3D engine discussed in this article. You can see it in action here and the complete source code is available at Codeplex. My goal is to show you how matrix maths is used to produce some simple 3D projections and rotations and to convince you that this is actually not as difficult a task as one may think. more here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • StumbleUpon
  • Reddit
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • XING

Leave a Reply

Your email address will not be published. Required fields are marked *