https://raytracing.github.io/books/RayTracingInOneWeekend.html#overview
- Setup for vscode and MacBook M2
- Add
export PATH="/opt/homebrew/bin:$PATH"
to~/.bash_profile
to setupbrew
- Uses
clang
from Xcode development tools - Uses
clang-format
frombrew
- Used C++ and clang-format extensions for VSCode
clang++ main.cpp -std=c++11 -o main
./main > image_test.ppm
-
Initial red and green image plane
image.ppm
-
Rendering of blue gradient 16:9 image is
image1.ppm
-
Rendering of a sphere
image2.ppm
-
Sphere shaded with surface normals
image3.ppm
-
Two spheres rendered with camera and interval class shaded with surface normals
image4.ppm
-
Added antialiasing
image5.ppm
-
First render of a diffuse sphere
image6.ppm
-
Render with diffuse and metal materials
image7.ppm
-
Fuzzed metal
image8.ppm
-
Dielectric
image9.ppm
-
Dielectric and metal
image10.ppm
-
Longer distance (wide angle) rendering
image11.ppm
-
Close up rendering
image12.ppm
-
Close up rendering with defocus
image13.ppm