pkill37 / ray-tracing

Animation in a WebGL application that dynamically explains and demonstrates the ray tracing algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ray-tracing

Animation in a WebGL application that dynamically explains and demonstrates the ray tracing algorithm.

  • Ray tracing is the state of the art for illumination in computer graphics
  • Ray tracing works by tracing a path from an imaginary eye through each pixel in a virtual screen, and calculating the color of the object visible through it.
  • Each ray must be tested for intersection with the objects in the scene. Once the nearest object has been identified, the algorithm will estimate the incoming light at the point of intersection, examine the material properties of the object, and combine this information to calculate the final color of the pixel.

Development

$ python -m http.server

About

Animation in a WebGL application that dynamically explains and demonstrates the ray tracing algorithm


Languages

Language:JavaScript 99.5%Language:HTML 0.5%Language:CSS 0.0%