remidomingues / Computer-Graphics

Cornell box rendering using raytracing and rasterisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer graphics

Ray tracing

  • Objects: triangles and spheres
  • Materials:
    • Diffuse (absorption)
    • Specular (reflection)
    • Diffuse and specular (absorption and reflection)
    • Glass (refraction and reflection)
  • Direct illumination + constant indirect illumination
  • Soft shadows (NxN light sources) according to the following light sources distribution:
    • Uniform
    • Jittered by stochastic sampling
  • Anti-aliasing:
    • Uniform 8x
    • Jittered by stochastic sampling 2x, 4x, 8x, 16x, 64x
  • Multithreading (processing and anti-aliasing)

Alt text

Rasterisation

  • Triangles
  • Depth buffer
  • Direct illumination by interpolated pixel positions + constant indirect illumination

About

Cornell box rendering using raytracing and rasterisation


Languages

Language:HTML 68.0%Language:C++ 23.8%Language:C 6.7%Language:TeX 0.7%Language:XSLT 0.4%Language:CSS 0.3%Language:Python 0.1%Language:CMake 0.1%