Thanks to visit codestin.com
Credit goes to github.com

Skip to content

USI Computer Graphics Rendering Competition 2023

cosmcif/raytracer

Repository files navigation

Raytracer

USI Computer Graphics rendering competition 2023 (we won :p). All results here.

Run the code with g++ main.cpp -Ofast; ./a.out

Authors

  • Sofia d'Atri
  • Nicolò Tafta

Final scene

Material sample scene

Features implemented

Features are highlighted in the files and can be found by searching FEAT (more specific feature tags at end of file)

  • Stochastic Raytracer - Antialiasing
  • Perlin Noise - Textures
  • Perlin Noise - Normal maps
  • Advanced Reflectance Model
  • Scene

Antialiasing

Perlin noise - Textures

Perlin noise - Normal maps

Specular highlights

How to locate features in the code

Features can be found by looking for these comments (or just FEAT)

  • FEAT: BOUNDING VOLUME HIERARCHY (BVH)
  • FEAT: IMAGE TEXTURES
  • FEAT: MESH LOADER
  • FEAT: NORMAL MAPS
  • FEAT: PERLIN GENERATED NORMAL MAPS
  • FEAT: PERLIN GENERATED TEXTURES
  • FEAT: SPECULAR HIGHLIGHTS
  • FEAT: SUPER SAMPLING ANTI ALIASING (SSAA)

About

USI Computer Graphics Rendering Competition 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •