Ray Tracer -- 劉益銓
Two extra shots
Abstract

Using Unity 3D C# script to build a ray tracer

Authors
劉益銓
Abstract

Using Unity 3D C# script to build a ray tracer

Technical introduction

Basic requirement

  • Parse in the scene, material, light and other information
  • Fast local rendering with OpenGL
  • Generate the tracing rays from the camera
  • Use the intersection mechanism in Engine for ray-object intersection computation
  • Implement the Whitted illumination model
  • Phong interpolation of normals on triangle meshes
  • Anti-aliasing
  • Acceleration structure

Extra credits

  • Adaptive termination criterion for tracing rays
  • Stochastic (jittered) super-sampling
  • Fresnel reflection model
  • Support other types of geometry (curve, hyperboloid, paraboloid, nurbs, fractal …)
  • Implement other types of light sources (area, environment, goniophotometric diagram light …)
  • Implement distributed ray tracing
  • Texture related techniques
    • Texture mapping
Video