# Apress/ray-tracing-gems

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

Repository: https://github.com/Apress/ray-tracing-gems
Canonical: https://ross.abutalabs.com/products/ray-tracing-gems
Homepage: https://www.apress.com/us/book/9781484244265
Language: C
License: MIT
License Family: permissive
Last push: 2021-05-06T21:16:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2731, "days_push": 1945, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1037, forks 121 (observed 2026-08-28T04:03:19.427965+00:00)

## What it is
Companion source code repository for the book 'Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs' by Eric Haines and Tomas Akenine-Möller. It contains C, CUDA, and HLSL code samples demonstrating ray tracing techniques, released under the MIT license.

## Use cases
- learn ray tracing techniques from book examples
- study DXR real-time rendering code samples
- find reference implementations of ray tracing algorithms
- explore CUDA and HLSL shader code for rendering
- supplement reading Ray Tracing Gems with runnable code

## When to choose
- you are reading the Ray Tracing Gems book and want its code
- you want MIT-licensed example code for DXR or CUDA ray tracing
- you are studying real-time and high-quality rendering techniques

## When to avoid
- you need a production-ready ray tracing engine
- you want a maintained library with ongoing feature development
- you need a general-purpose graphics framework

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: graphics, simulation, developer-tools
- domain: graphics, tutorials
- platform: cross-platform, windows, cpp
- tags: ray-tracing, dxr, cuda, hlsl, book-source-code, rendering, game-development, gpu

## Member repositories
- Apress/ray-tracing-gems (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.427965+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:19.827753+00:00, confidence not recorded.
  - readme: https://github.com/Apress/ray-tracing-gems (fetched 2026-08-28T04:03:19.427965+00:00, sha 86a5e8de9448)
- Data as of 2026-08-30T08:39:29.467469+00:00.
