# xelatihy/yocto-gl

Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics

Repository: https://github.com/xelatihy/yocto-gl
Canonical: https://ross.abutalabs.com/products/yocto-gl
Homepage: https://xelatihy.github.io/yocto-gl
Language: C++
License Family: other
Topics: path-tracer, gltf, graphics, physically-based-rendering, computer-graphics, rendering, path-tracing, cplusplus, cpp, 3d-graphics
Last push: 2024-02-21T11:47:53+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3793, "days_push": 924, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2925, forks 215 (observed 2026-08-28T04:07:30.417360+00:00)

## What it is
Yocto/GL is a collection of small C++17 libraries for building physically-based graphics algorithms, written in a data-oriented style and released under the MIT license. It provides building blocks for math, color, geometry, noise, sampling, shading, images, shapes, scenes, BVH ray tracing, path tracing, and file I/O for formats like Ply, Obj, Stl, Pbrt, and glTF.

## Use cases
- build a physically-based path tracer in C++
- parse and write Obj, Ply, Stl, Pbrt, and glTF scene files
- compute ray-primitive intersections with a bounding volume hierarchy
- manipulate triangle and quad meshes with subdivision and normals
- apply tone mapping and color grading to images
- generate procedural shapes and images
- sample Monte Carlo directions and evaluate BSDF lobes
- view and convert 3D scenes interactively

## When to choose
- you need small, composable C++ libraries for rendering research or education
- you want a clean data-oriented codebase to study or extend for path tracing
- you need lightweight mesh, image, and scene I/O without heavy dependencies
- you prefer permissive MIT-licensed graphics code you can embed in your own tools

## When to avoid
- you need a full-featured production renderer with a GUI and material ecosystem
- you require GPU-accelerated real-time rendering out of the box
- you want a game engine with animation, physics, or audio
- you need long-term vendor support or a formal license file in the repo

## Facets
- artifact type: library
- maturity: active
- function: graphics, image-processing, parser, serialization, cli, concurrency
- domain: graphics, computer-vision, developer-tools, cross-platform
- platform: cpp, cross-platform, cli
- tags: path-tracing, physically-based-rendering, gltf, obj-ply-stl, bvh, ray-intersection, tone-mapping, subdivision-surfaces, monte-carlo, scene-io, c++17, header-only-style, data-oriented-design, game-development

## Member repositories
- xelatihy/yocto-gl (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.417360+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:33:43.420880+00:00, confidence not recorded.
  - readme: https://github.com/xelatihy/yocto-gl (fetched 2026-08-28T04:07:30.417360+00:00, sha 63380efaab6c)
  - homepage: https://xelatihy.github.io/yocto-gl (fetched 2026-08-29T09:48:52.044814+00:00, sha c8043bb8d00e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
