Skip to content

Crispher/MCRayTrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCRayTrace

A Monte Carlo ray tracer. (See link for detailed description and sample pictures!)

  • implemented features:
    • ability to handle phong reflection and refraction
    • triangles and spheres
    • two samplers: stratified and latincube
    • kd-tree accelerator
    • bump mapping, texture mapping
    • importance sampling, direct lighting
    • a tiny physics engine framework with partial implementation
    • scattering media
    • mesh simplification using quadric error metric
    • ...
  • Sample pictures (more in the images/* folder)
    • Texture mapping / depth of field alt tag
    • Demonstration of sampling technique: cornell box rendered with 10,000 samples per pixel alt tag
    • Rendering of anisotropic surface interaction and total internal reflection alt tag alt tag
    • Sample video of physics engine: link
  • Acknowledgement: \ Thanks to Wang Cunguang, who provided the 3D model of our school gate.

About

A Monte-Carlo Raytracer from scratch,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages