Skip to content
Tech News
← Back to articles

Show HN: I wrote a C++ ray tracer from scratch without AI

read original get Ray Tracing C Kit → more articles
Why This Matters

Luz demonstrates that a high-performance, feature-rich path tracer can be built from scratch in C++20 without relying on third-party libraries, showcasing advanced rendering techniques and optimizations. This development highlights the potential for customized, open-source rendering solutions that can be tailored to specific needs in the graphics and visual effects industries. For consumers and developers alike, Luz offers a transparent, extensible tool for realistic rendering, fostering innovation and learning in computer graphics.

Key Takeaways

Luz

Luz is a C++20 Path Tracer developed from scratch with zero third-party dependencies.

It supports Monte Carlo path tracing, global illumination, BVH acceleration, adaptive sampling, denoising, atmospheric scattering, custom scene files, and a Blender-to-Luz exporter.

Features

Monte Carlo path tracing

Global illumination

Multithreaded CPU rendering

Adaptive sampling

Denoiser (NFOR-style)

Spheres, planes, rectangles, triangles, cubes, volumes, and OBJ meshes

... continue reading