i second that a major rewrite is definitely needed that would be quite admirable of you if you have the time i would strongly suggest that you look at the german wikipedia page on raytracing linked at the top the article is very well put together and i think it correctly focuses more on the ray tracing aspect as opposed to the more general physically based rendering which of course relies nearly exclusivly on ray tracing but is certainly a broader term