Skip to content

za3k/ha3k-11-raytracer-rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cool rain demo of a simple raytracer in action.

This simple simple raytracer written in C and CUDA. It's based on a raytracer written written by kragen; and on Ray Tracing in One Weekend by Peter Shirley, Trevor David Black, Steve Hollasch.

This demo has 10-3000 objects on screen at a time. 10 main drops, plus tinier droplets that bounce off.

The below rendering times used a 4060Ti NVidia GPU.

Resolution | Samples | Framerate

400x300 | 1/pixel | 81.7 fps 400x300 | 10/pixel | 20.6 fps 400x300 | 100/pixel | 2.4 fps 1920x1080 | 1/pixel | 5.4 fps 1920x1080 | 10/pixel | 1.4 fps 1920x1080 | 100/pixel | 0.2 fps

About

Hack-A-Day 2023, Day 11. A little rain simulator for a raytracer in CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors