https://github.com/rrrinav/ray-tracer
A simple tracer made using recursion (whitted ray-tracing)
https://github.com/rrrinav/ray-tracer
Last synced: 2 months ago
JSON representation
A simple tracer made using recursion (whitted ray-tracing)
- Host: GitHub
- URL: https://github.com/rrrinav/ray-tracer
- Owner: Rrrinav
- Created: 2024-12-15T10:04:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:41:55.000Z (5 months ago)
- Last Synced: 2025-02-04T13:03:24.697Z (4 months ago)
- Language: C++
- Size: 10.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ray Tracing Project
### 4. Perlin Texture
### 1. Normal
### 2. Checker top View
### 3. Motion Blur
Ray tracing is a technique for modeling light transport for use in a wide variety of rendering algorithms for generating digital images.
## Project Structure
- `src/`: Source code files
## Prerequisites
- C++17 compatible compiler (g++ recommended)
- Make (or [build it yourself](#building-mannualy))## Building the Project
### Using make
```bash
make render # Generate ray traced image (output to image.ppm)
make clean # Clean build artifacts
open image.ppm # However you want, E.g. xdg-open image.ppm
```### Building mannualy
```bash
cd src/
g++ main.cpp -o main -std=c++17
main > output.ppm
```## References
[_Ray Tracing Book_](https://raytracing.github.io/)