Very nice code samples and article up on Code Project by Andrej Benedik.  His tool is quite handy but more also provides source which allows you to better understand what is happening under the covers.  Also with some nice links to other intro articles about 3D on the web.