Where can I find nicely commented tutorial on this topic?
http://www.gamedev.net/reference/articles/article1903.asp
Thanks a lot!