A simple demonstration of 2D raytracing I wrote using C++ and freeGLUT libraries. The red line represents a ray of light, and how it reflects off of surfaces it comes into contact with. Eventually the entire display fills with red. 
 

My Graphics repository on github has this example plus many other basic computer graphics concepts written in c++:
 
https://github.com/jdjohnson15/GraphicsWork
 
2D Raytracing
Published:

2D Raytracing

A simple demonstration of 2D raytracing I wrote using C++ and freeGLUT libraries. The red line represents a ray of light, and how it reflects off Read More

Published:

Creative Fields