We just finished reading and testing the tutorials from http://learningwebgl.com/blog/?p=1067 and produced my first ray Traced image using the base code from its mandelbrot example. Here is a screenshot of the ray traced image.
The most difficult problem for creating such an image was to find out all the pixels on the screen and how to trace them. So, in the mandelbrot example of those tutorial they have used a technique of tracing the corners. Hence, the problem now comes to how to find the corners of the screen. We used the course notes given to us in CIS460 to find this out. Once that was done, it was really simple to implement ray tracing. Now, We have to figure out how to convert the ray tracer into path tracer.
No comments:
Post a Comment