https://github.com/prabin-acharya/raytracing
https://github.com/prabin-acharya/raytracing
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prabin-acharya/raytracing
- Owner: prabin-acharya
- Created: 2024-02-09T18:00:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-30T19:06:45.000Z (about 1 year ago)
- Last Synced: 2025-02-09T19:43:34.146Z (3 months ago)
- Language: C++
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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:
![]()
After:
![]()
## Diffuse Materials

## gamma correction for accurate color intensity

## Metal
