Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing

This is an implementation of a ray-tracer, currently following the Ray-Tracing In One Weekend(RTIOW) book series. I was inspired by my courses Intro To Graphics and Further Graphics and wanted to start coding up some of the concepts!


How To Use

To build the renderer and get it to render the image shown beneath (the cover of RTIOW) to the file image.ppm, enter the project directory and run:

> make
> ./raytracer > image.ppm

For now, to create your own scenes, go into main.cc and edit the 'Scene Initialisation' part of the code. (I will improve the I/O soon!)


Results

For more, see the results/clean folder!

Book 1 Cover


Upcoming Extensions

Some extensions I would like to try:

  • Book 2 (notably distribution over time, light sources and BVH)
  • Book 3 (notably the content on importance sampling for indirect illumination)
  • Improved user-facing I/O
    • Command Line Use
    • User-defined geometries?
  • Metal Acceleration
  • Import geometries from other sources (libgl?)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages