-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented areal light sources and path tracing
Common base class renderer introduced. Meshes and spheres can now be used a s light sources.
- Loading branch information
Philip Abernethy
committed
Apr 13, 2016
1 parent
2862820
commit 4b53fcc
Showing
77 changed files
with
1,663 additions
and
1,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# RayTracer | ||
A whitted ray tracer written in C++ | ||
|
||
This project mainly serves the purposes of making me more familiar with C++ as well as getting me into computer graphics. I hope though, that it is helpful and/or educational for others too and I try to keep the code understandable, rather than highly performant. | ||
This project mainly serves the purposes of making me more familiar with C++ as well as getting me into computer | ||
graphics. I hope though, that it is helpful and/or educational for others too and I try to keep the code understandable, | ||
rather than highly performant. | ||
|
||
It is written in C++11 and thus requires a compiler capable of that standard. It uses CImg for image import and export, which at least depends on X11 and pthread libraries. CImg dependencies are handled in its own `.cmake` file. It further depends on [PugiXML](https://github.com/zeux/pugixml) for XML parsing and uses [TinyOBJLoader](https://github.com/syoyo/tinyobjloader) as in-tree library. | ||
It is written in C++11 and thus requires a compiler capable of that standard. It uses CImg for image import and export, | ||
which at least depends on X11 and pthread libraries. CImg dependencies are handled in its own `.cmake` file. For CImg to | ||
be able to handle the `.png` files of this project it requires ImageMagick to be installed. CMAKE expects to find | ||
[PugiXML](https://github.com/zeux/pugixml) in the library path, so either install it system-wide or compile to `/usr/local/lib`. | ||
[TinyOBJLoader](https://github.com/syoyo/tinyobjloader) is used as in-tree library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.