https://github.com/reagentx/path-tracer
Implementation of a path tracer in Rust
https://github.com/reagentx/path-tracer
Last synced: over 1 year ago
JSON representation
Implementation of a path tracer in Rust
- Host: GitHub
- URL: https://github.com/reagentx/path-tracer
- Owner: ReagentX
- License: gpl-3.0
- Created: 2022-03-20T18:34:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-12T20:19:02.000Z (over 1 year ago)
- Last Synced: 2025-01-31T16:15:27.916Z (over 1 year ago)
- Language: Rust
- Size: 43.7 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# path-tracer
Implementation of a path tracer in Rust


## Features
- Render pipeline:
- Shapes
- Sphere
- Triangle
- World (collection of shapes)
- Materials
- Lighting
- Transparency
- Metals
- Glass
- Lambertians
- Dielectrics
- Camera
- FOV
- Focal length
- Position
- Image:
- In-memory buffer of canvas data
- Utility methods to iterate over each `(x, y)` pixel
- Buffered write of pixel data, reaching ≈11k pixels-per-millisecond (p/ms) on M1 Max
- Scene
- Save scene to file
- Load scene from file
- Scene data
- Render settings
- Image resolution
- Camera position
- Object placement