RayTracer
Ray tracer with phong lighting, reflections, refractions, normal mapping, procedural textures, super sampling, and depth of field.
File Explorer
Download Latest Version (.zip)- bunny.orig.m
- bunny10k.m
- bunny500.m
- cessna500.m
- cessna_color.m
- cessna_color500.m
- dragon10k.m
- dragon1K.m
- fandisk_10k.m
- fandisk_1k.m
- gameguy.m
- gameguy1k.m
- gameguy_color.m
- gameguy_noinfo_20k.m
- gargoyle500.m
- gargoyle_2k.m
- gg1k_noinfo.m
- test1.m
- test_simp1.m
- tyra_100k.m
- tyra_1k.m
- tyra_20k.m
- diffuse.jpeg
- diffuse.tga
- diffuse_thumb.jpeg
- intersection.jpeg
- intersection.tga
- intersection_thumb.jpeg
- reflections.jpeg
- reflections.tga
- reflections_thumb.jpeg
- shadows.jpeg
- shadows.tga
- shadows_thumb.jpeg
- specular.jpeg
- specular.tga
- specular_thumb.jpeg
- superSamplingx1.jpeg
- superSamplingx1.tga
- superSamplingx1_thumb.jpeg
- superSamplingx2.jpeg
- superSamplingx2.tga
- superSamplingx2_thumb.jpeg
- superSamplingx3.jpeg
- superSamplingx3.tga
- superSamplingx3_thumb.jpeg
- 471Presentation.pptx
- allMaterials_2_1.jpg
- allMaterials_2_1.tga
- allMaterials_2_1_thumb.jpg
- ballsInAPit_2_60.jpg
- ballsInAPit_2_60.tga
- ballsInAPit_2_60_results.png
- ballsInAPit_2_60_thumb.jpg
- ballsOnAPlane_2_50.jpeg
- ballsOnAPlane_2_50.tga
- ballsOnAPlane_2_50_thumb.jpeg
- ballsOnAPlaneClose_3_1.jpeg
- ballsOnAPlaneClose_3_1.tga
- ballsOnAPlaneClose_3_1_thumb.jpeg
- line_4_300.jpeg
- line_4_300.tga
- line_4_300_thumb.jpeg
- lineFar_4_300.jpeg
- lineFar_4_300.tga
- lineFar_4_300_thumb.jpeg
- refraction_2_1.jpg
- refraction_2_1.tga
- refraction_2_1_thumb.jpg
- texturesInYoFace_3_1.jpg
- texturesInYoFace_3_1.tga
- texturesInYoFace_3_1_results.png
- texturesInYoFace_3_1_thumb.jpg
- triangleSpheres_4_300.jpeg
- triangleSpheres_4_300.tga
- triangleSpheres_4_300_thumb.jpeg
- tumbledStones_3_1.jpg
- tumbledStones_3_1.tga
- tumbledStones_3_1_results.png
- tumbledStones_3_1_thumb.jpg
- allMaterials.scn
- ballsInAPit.scn
- ballsOnAPlane.scn
- ballsOnAPlaneClose.scn
- bunny.scn
- dragon.scn
- GenerateBallsOnAPlane.php
- line.scn
- lineFar.scn
- modelTest1.scn
- modelTest2.scn
- modelTest3.scn
- texturesInYoFace.scn
- triangleSpheres.scn
- triangleTest1.scn
- tumbledStones.scn
- Air.cpp
- Air.h
- Boundaries.cpp
- Boundaries.h
- BSP.cpp
- BSP.h
- Camera.cpp
- Camera.h
- Checkerboard.cpp
- Checkerboard.h
- Color.cpp
- Color.h
- CrissCross.cpp
- CrissCross.h
- FlatColor.cpp
- FlatColor.h
- Glass.cpp
- Glass.h
- Image.cpp
- Image.h
- Intersection.cpp
- Intersection.h
- Light.cpp
- Light.h
- main.cpp
- Makefile
- Marble.cpp
- Marble.h
- Material.cpp
- Material.h
- NormalMap.cpp
- NormalMap.h
- Object.cpp
- Object.h
- PerlinNoise.cpp
- PerlinNoise.h
- Ray.cpp
- Ray.h
- RayTracer.cpp
- RayTracer.h
- runAndOpenAll.sh
- ShinyColor.cpp
- ShinyColor.h
- Sphere.cpp
- Sphere.h
- Triangle.cpp
- Triangle.h
- Turbulence.cpp
- Turbulence.h
- Vector.cpp
- Vector.h
- Wood.cpp
- Wood.h
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/marczych/RayTracer
Downloads the entire project code from GitHub to your computer.
cd RayTracer
Moves into the project folder you just downloaded.
2. Make
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd src
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
