Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


CIS565: Project 1: CUDA Raytracer

Fall 2013


IMPLEMENTATION:

For this project, I learned about CUDA and implemented a simple GPU raytracer. The basic features include diffuse and phong shading of cubes and spheres with raytraced shadows from a single point light. I also added these additional features:

  • Soft shadows and area lights
  • Depth of field
  • Supersampled anti-aliasing
  • Movable camera

Please use the new scene files provided in the repository. phongMatScene.txt is the scene I used to render the images below.
The scenes are still read through the command line. I added focal length and aperture as new camera features that can be read in through the scene files, so the old scene files would not work.

The camera controls are:

  • 'a' and 'd' keys to translate along the x axis
  • 'w' and 's' keys to translate along the y axis
  • 'j' and 'k' keys to translate along the z axis

SCREENSHOT OF MY RAYTRACER

Screen shot Alt text

Depth of Field Alt text

No DOF Alt text

Two lights with depth of Field Alt text


VIDEO

Video link:

https://vimeo.com/75069384


PERFORMANCE EVALUATION

Alt text

Link to pdf

https://github.com/zxyzhu/Project1-RayTracer/blob/master/renders/PerformanceAnalysis.pdf


THIRD PARTY CODE


FUTURE WORK

I am currently working on reflective surfaces. After that I plan to make refraction and create better camera controls.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages