Tuesday, July 10, 2007

Ray Tray (1)

Before heading off to San Diego, CA last week I ended up brushing up on my Ray Tracing knowledge since one of the meetings was with some very informed people on the subject. I dusted off my notes from school and started to code up a Ray Tracer in C#.

I have continued working on the application now and then over the past week and finally reached a point where I have some decent results being generated. I ended up having some problems with the math since I did not read my notes correctly and pin pointed the problem by comparing my new C# code against my old C++ code that was written a few years ago.

Here is a quick screen shot of my program. So far the application is very basic but there are options to set the location of the camera, eye, and add multiple spheres to the scene. The image displayed shows the different material types.

This is my first post of my "Ray Tray" program, hence the (1) in the title. As I make changes and other updates and generate new images I will add more posts.

0 comments: