Skip to content

Repository files navigation

Raytracer

My attempt at building a raytracer from scratch following raytracing-in-a-weekend guide. With a raytracer you can model objects in 3D space and generate images for what they'd look like by applying your own colours, angles and lightning. I learned a lot of maths and computer graphics.

To execute simply compile with g++ main.cc and then run ./a.out > image.ppm.

Antialiasing

Before: Without antialiasing
After: After antialiasing

Diffuse Materials

Diffuse sphere Diffuse spheres

gamma correction for accurate color intensity

alt text

Metal

alt text

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages