# mmp/pbrt-v2

Source code for the version of pbrt described in the second edition of "Physically Based Rendering"

Repository: https://github.com/mmp/pbrt-v2
Canonical: https://ross.abutalabs.com/products/pbrt-v2
Homepage: http://pbrt.org
Language: C++
License Family: other
Last push: 2019-01-05T00:22:32+00:00

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

## Adoption (not part of the score)
Stars 1002, forks 345 (observed 2026-09-03T02:15:15.152490+00:00)

## What it is
pbrt-v2 is the C++ source code for the physically based rendering system described in the second edition of the 'Physically Based Rendering: From Theory to Implementation' textbook. It is a command-line ray-tracing renderer with example scenes and exporters, primarily serving as companion code for learning rendering algorithms.

## Use cases
- learn physically based rendering from a textbook with real source code
- render photorealistic images with a ray tracer
- study the internals of a production-quality renderer
- teach a computer graphics course with hands-on renderer code
- export scenes from Blender or 3ds max to a renderer
- experiment with BRDFs, cameras, and light transport algorithms

## When to choose
- you are following the second edition of the PBRT book and want matching code
- you want a well-structured, readable renderer to study or extend for coursework
- you need a classic CPU-based physically based renderer for research baselines

## When to avoid
- you need the latest features, GPU rendering, or active development - use pbrt-v4 instead
- you want a production renderer with a modern pipeline and community support
- you need a maintained tool with recent bug fixes or a defined license

## Facets
- artifact type: application
- maturity: maintenance
- function: graphics, simulation, cli
- domain: graphics, education, computer-vision
- platform: windows, cpp, cross-platform
- tags: ray-tracing, physically-based-rendering, renderer, computer-graphics, textbook-code, linux, macos

## Member repositories
- mmp/pbrt-v2 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.152490+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:14:01.354635+00:00, confidence not recorded.
  - readme: https://github.com/mmp/pbrt-v2 (fetched 2026-09-03T02:15:15.152490+00:00, sha 1267a5eb7bf3)
  - homepage: http://pbrt.org (fetched 2026-08-29T13:13:52.590603+00:00, sha 2b381f37f5ec)
  - site_page: https://pbrt.org/faqs.html (fetched 2026-08-29T13:13:52.600031+00:00, sha 706e063e6367)
- Data as of 2026-08-30T08:39:29.467469+00:00.
