Tuesday, July 3, 2012

Ray Tracing Step One


Finally, I made the first move. Before this I have read many lecture notes, SIGGRAPH course papers. It is just my way, "Theory before Practice". I used GLM for mathematics and OpenCV to store pixel values and manage the window.
The first image is without shading, just return the color of the spheres. In the second image, diffuse pass is added. One ray for one pixel.

No comments:

Post a Comment