https://github.com/kirang89/raytracer
A simple and naive Raytracer written solely for education and fun.
https://github.com/kirang89/raytracer
Last synced: 5 months ago
JSON representation
A simple and naive Raytracer written solely for education and fun.
- Host: GitHub
- URL: https://github.com/kirang89/raytracer
- Owner: kirang89
- Created: 2014-06-15T03:02:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-26T00:49:35.000Z (about 11 years ago)
- Last Synced: 2024-12-22T20:03:02.644Z (6 months ago)
- Language: C++
- Size: 164 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Ray Tracer
A simple and naive raytracer written solely for education and fun.
Here is the final output:
*Note: Only object reflections are handled for now.*
###Usage
- First compile the program using:
```
c++ -o rtracer -O3 -Wall main.cpp
```
- Next, run the executable. Doing so, generates a [PPM](http://www.fileinfo.com/extension/ppm) image of the scene generated:
```
./rtracer
```
- Finally open the scene image created using a PPM Viewer
- ToyViewer/Photoshop for Mac
- GIMP for Linux
- GIMP/Photoshop for Windows###Todo
- Show object shadows on scene
- Anti-aliasing
- Object refractions
- Loading scene from files