← board

Demo — CPU ray tracer

Goal

Build a small CPU ray tracer under examples/raytracer/, without OpenGL. The first version should render into an image/bitmap buffer and display through the existing PCL/custom drawing or terminal/image-rendering stack, with an optional headless render mode for deterministic tests.

Scope

Math-library note

A clean ray tracer naturally wants vector normalization, square root, dot products, and possibly trig for camera controls. That may depend on math.pas or runtime float support. Keep the core structured so a simpler profile can avoid extra math where useful:

Do not distort the source just to avoid math.pas; file missing math/runtime gaps separately if the platonic implementation needs them.

Coverage

Acceptance

Log