This is my C implementation of "ray traiced" image rendering on the basis of a book "Ray Tracing in One Weekend".
The output of images is a PPM(P3) file.
# Clone this project
$ https://github.com/smkatash/ray-tracing-in-one-weekend
# Run the program
$ make
# Render an image
$ make image
Changing views and colors.
A sphere colored according to its normal vectors.
Resulting render of normals-colored sphere with ground.
First render of a diffuse sphere.
Diffuse sphere, with gamma correction.
Correct rendering of Lambertian spheres.
Rendering of diffuse spheres with hemispherical scattering.
Implementation of different materials. Fuzzed metal.
Glass sphere that sometimes refracts.
Shiny metal.
A distand view.
Zooming in.