Ray tracing is a rendering technique used to generate an image by tracing the path of light as pixels in an image plane and simulating the effects of its encounters with virtual objects. When dealing with spherical objects in ray tracing, such as spheres, certain principles come into play.
- STB to output frame in PNG format.
-
Clone the repository
-
If you use MacOS or Linux based operating systems: 3. cmake .. 4. make
-
If you use Windows, first you need to install Visual Studio tools and work with .sln files.
-
After following these steps you will get an executable named RayTracer/RayTracer.exe.
Advanced version of the first Homework including lighting, material, shadowing, ambient, and diffuse components for coloring.
- Same steps with HW1.