Skip to content
Source Code for "Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs" by Eric Haines and Tomas Akenine-Möller
Branch: master
Clone or download
Eric Haines
Latest commit 7b3c1e9 Mar 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ch_02_What_is_a_Ray Initial commit Mar 12, 2019
Ch_03_Introduction_to_DirectX_Raytracing
Ch_04_A_Planetarium_Dome_Master_Camera Initial commit Mar 12, 2019
Ch_06_A_Fast_and_Robust_Method_for_Avoiding_Self-Intersection Initial commit Mar 12, 2019
Ch_07_Precision_Improvements_for_Ray-Sphere_Intersection Initial commit Mar 12, 2019
Ch_08_Cool_Patches_A_Geometric_Approach_to_Ray-Bilinear_Patch_Intersections Initial commit Mar 12, 2019
Ch_09_Multi-Hit_Ray_Tracing_in_DXR Initial commit Mar 12, 2019
Ch_10_A_Simple_Load-Balancing_Scheme_with_High_Scaling_Efficiency Initial commit Mar 12, 2019
Ch_11_Automatic_Handling_of_Materials_in_Nested_Volumes
Ch_12_A_Microfacet-Based_Shadowing_Function_to_Solve_the_Bump_Terminator_Problem Initial commit Mar 12, 2019
Ch_13_Ray_Traced_Shadows_Maintaining_Real-Time_Frame_Rates Initial commit Mar 12, 2019
Ch_14_Ray-Guided_Volumetric_Water_Caustics_in_Single_Scattering_Media_with_DXR Initial commit Mar 12, 2019
Ch_15_On_the_Importance_of_Sampling Initial commit Mar 12, 2019
Ch_16_Sample_Transformations_Zoo Add license, corrections Mar 13, 2019
Ch_18_Importance_Sampling_of_Many_Lights_on_the_GPU Initial commit Mar 12, 2019
Ch_19_Cinematic_Rendering_in_UE4_with_Real-Time_Ray_Tracing_and_Denoising Initial commit Mar 12, 2019
Ch_23_Interactive Light Map and Irradiance Volume Preview in Frostbite Initial commit Mar 12, 2019
Ch_24_Real-Time_Global_Illumination_with_Photon_Mapping Initial commit Mar 12, 2019
Ch_25_Hybrid_Rendering_for_Real-Time_Ray_Tracing Initial commit Mar 12, 2019
Ch_26_Deferred_Hybrid_Path_Tracing
Ch_27_Interactive_Ray_Tracing_Techniques_for_High-Fidelity_Scientific_Visualization Initial commit Mar 12, 2019
Ch_28_Ray_Tracing_Inhomogeneous_Volumes Initial commit Mar 12, 2019
Ch_29_Efficient_Particle_Volume_Splatting_in_a_Ray_Tracer Initial commit Mar 12, 2019
Ch_30_Caustics_Using_Screen_Space_Photon_Mapping Initial commit Mar 12, 2019
Ch_32_Accurate_Real-Time_Specular_Reflections_with_Radiance_Caching Initial commit Mar 12, 2019
.gitattributes
9781484244265.jpg Initial commit Mar 12, 2019
Contributing.md
LICENSE.txt Split lines in license for easier viewing Mar 13, 2019
README.md Fix space Mar 13, 2019
errata.md

README.md

Apress Source Code

This repository accompanies Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs by Eric Haines and Tomas Akenine-Möller (Apress, 2019).

See http://raytracinggems.com for further information about the book.

Cover image

Download or clone the files as a zip using the green button in the upper right, or clone the repository to your machine using Git with https://github.com/Apress/ray-tracing-gems.git

Releases

Errata for the book is available.

Release v1.0 corresponds to the code in the published book, with two corrections to Chapter 16:

Page 235, file ConcentricSquareMapping.cpp: The case "a == 0 && b == 0" is not handled and can result in division by 0; above line 3 add "if (b == 0) b = 1;"

Page 242, file PhongDistribution.cpp: Line 1 of the code at the top, change "1+s" to "2+s"

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

License

All code here is released under the MIT License, copyright 2019 NVIDIA Corporation, unless otherwise noted within an individual chapter's files. This license reads as follows:

Copyright 2019 NVIDIA Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.