Skip to content

Danielmelody/taichi_pt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Taichi Path tracer

A progressive path tracer written in taichi

Features:

  • Global illumination via unbiased Monte Carlo path tracing
  • Physically based Specular shading(GGX)
  • Lambert diffuse shading
  • Ray-Sphere intersection
  • Unbiasd russain roule
  • Antialiasing via super-sampling
  • Depth of field effect of lens camera
  • Multiple Importance Sampling
    • Balance heuristic
    • Cosine-weighted pdf
    • ggx normal weighted pdf
  • ACES Tone mapping
  • Bloom effect
  • Gamma correction of final result

The 5 balls in the scene are:

  1. rough golden ball
  2. smooth ceramics ball
  3. the light source ball
  4. huge ground rough iron ball
  5. smooth metal ball

Usage

pip3 install taichi
python3 pt.py

and you a ready to go.

Scroll mouse to zoom in/out, press and drag the mouse to see a interactive result. You can also press shift while scrolling mouse to change the focal length of the camera.

About

progressive path tracer written in taichi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages