Skip to content

TheophileMot/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracer

A ray tracer with photon mapping. Photons are stored in a k-d tree for efficient retrieval. Various primitives are supported (sphere, plane, cone, etc.), as well as more complex objects (cube, cuboctahedron, cup, lampshade, etc.). Various material properties are supported to simulate reflection and refraction of water, metal, and so on.

This is an old project: not very user friendly and the code is disorganized! But it makes nice pictures: Image of raytraced scene Image of raytraced scene

Keyboard controls:

SPACE to render
WASD to move camera  [hold down shift to speed up]
 QE  to tilt camera  [             "             ]

About

simple ray tracer with photon mapping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages