Skip to content

prabin-acharya/raytracing

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

Watchers

Forks

Releases

No releases published

Packages

No packages published