Skip to content

Implementation of Small Path Tracer on Python with GPU acceleration using Taichi

Notifications You must be signed in to change notification settings

burhanuddin6/accelerated_small_pt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACCELERATED SMALL PATH TRACER

This is accelerated version of the famous smallpt code. The original code can be found here. This repository uses the python-numpy implementation of the original code and uses taichi to accelerate the rendering process. The results are quite impressive. The speed up is at least more than 30x compared to the original code. The code is written in a way that it can be easily modified to add more features. Currently the parallelization is done on the individual pixels but can be easily modified to parallelize on the rays (each sample of each pixel).

Sample Run

This is the original cornwell scene taken from smallpt. This image was rendered using 512 samples per pixel and 1024x768 resolution. The rendering takes around 2 minutes on a i7-5500U CPU. The image was converted to jpg from ppm format.

Sample Image

About

Implementation of Small Path Tracer on Python with GPU acceleration using Taichi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages