Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liamg/raytracing
3D Raytracing in Go
https://github.com/liamg/raytracing
3d raytracer raytracing
Last synced: 4 months ago
JSON representation
3D Raytracing in Go
- Host: GitHub
- URL: https://github.com/liamg/raytracing
- Owner: liamg
- Created: 2019-04-07T22:46:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T03:00:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T18:27:04.498Z (4 months ago)
- Topics: 3d, raytracer, raytracing
- Language: Go
- Size: 2.62 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raytracing in Go
A simple 3D raytracing engine, purely as a learning exercise.
Features:
- Lighting (point, directional, ambient)
- Shadows
- Reflections (*n* levels)
- Object interface for theoretical support for any geometric object (currently supports Triangles, Boxes and Spheres)## Example output
![](output.png)
The image above was rendered with the example code in [examples/png/main.go](examples/png/main.go)
There's also a basic [terminal-based 3D game demo](examples/game/main.go).
## TODO
- [ ] Texturing