Compare renderer output without building a comparison site.
- 📊 PSNR Metrics per Comparison
- 🔥 Visual Delta Images
- 🖼️ Browsable Side-by-Side Viewer
- ⚡ Live-Reloading Dev Server
- 📦 Static Site or Docker Serving
- 🎞️ Temporal Fidelity and Benchmarks
fidelity-kit turns a folder of AVIF renders into image quality metrics, visual difference images, and a browsable website. Use it for rendering fidelity suites, visual regression reviews, and side-by-side comparisons of a renderer against one or more references.
Your renderer writes images; fidelity-kit handles the comparisons and viewer. Run the viewer locally while developing, serve the results from a container, or export a static site.
Put your renders in a results folder, then run:
npx fidelity-kit dev resultsOpen the URL printed by the command (usually http://localhost:3000). dev processes stale images, watches for new or changed renders, and reloads the viewer. See the working example for a complete suite.
A suite is a results directory with a fidelity.json and one image per renderer under each scene and output:
results/
fidelity.json
materials/brushed-metal/beauty/reference.avif
materials/brushed-metal/beauty/my-renderer.avif
{
"title": "My Renderer Comparisons",
"renderers": [
{ "id": "reference", "label": "Reference", "reference": true },
{ "id": "my-renderer", "label": "My Renderer" }
]
}Material Fidelity uses fidelity-kit to compare renderer output side by side, with visual deltas and PSNR metrics.
- Suite format: scenes, outputs, renderers, scene metadata, READMEs and logos.
- Local development:
process,dev,serve, how comparisons stay current, and progress output. - Temporal fidelity: score animated sequences for ghosting, flicker and convergence.
- Rendering suites: capture renders from a registry, benchmarks and history, grouped selections.
- Serve from Docker and publish a static viewer.
- CLI reference and API reference.
See RELEASING.md for how releases are published and GitHub Releases for changes.
See the Contributing Guide.
MIT
Ben Houston, Sponsored by Land of Assets.
