Skip to main content
native-illumination · Optics · native · track OP5 · in the solver registry the keyed Monte Carlo trace of objects, sources and detectors: analytic solids and shells, Fresnel splitting, TIR, absorbing / mirror / dielectric media by containment, rectangle and polar detectors, the energy accounting with its RSE.

Front door

The optical system goes straight to its solve route (OP1); the lens document’s front door (/v1/optics.lower) lands with OP15. Solve domains: illumination

Operations

  • POST /v1/solve.illumination — Solve a non-sequential scene: objects, sources and detectors traced by the keyed Monte Carlo (OP5; OP5.b: the faceted objects — PolygonObject / CADPartSTL / Extruded name their POB / STL / UDA file in data_file, read from the vendor’s object folders into scene.meshes / scene.apertures, or given there; SourceFile / SourceIESNAFile / SourceEULUMDATFile name their ray file (DAT / SDF) or photometric file (IES / LDT) in data_file, read from the vendor’s Sources folders into scene.ray_files / scene.photometric_files, or given there; OP5.b slice 6: SourceFile also reads the TM-25 file (.tm25ray; one spectral table rides ray_files[].spectrum), SourceImported names its STEP in data_file (tessellated from the vendor’s CAD Files folder into scene.meshes), the Source Object emits from any parent (the lens families, the tori, the cones, the pipes, an Array’s instances) with its cosine factor in parameter 8, a source’s spectrum.kind = file names its .spcd in spectrum.name (read into rows), a source’s pre_propagation, reverse and array {kind: rectangular | circular | hexapolar | hexagonal, nx, ny, dx, dy, count, radius, rings, spacing} follow the Sources tab, the IES / EULUMDAT tables interpolate bilinearly with LM-63’s symmetries; a source’s consider / ignore lists confine its rays; scene.trace.ray_database records every segment (the field illumination/rays/database, seventeen values a row: ray, segment, level, parent, hit object, hit face, in object, status bits, x y z, l m n, intensity, wavelength, path length), scene.trace.path_analysis tabulates the branches’ paths (illumination/paths), scene.trace.filter keeps the branches passing the vendor’s filter string; OP22: init_from continues a run, scene.trace.sampling | precision | device fork the key)
  • POST /v1/optics.ies — An IES LM-63-2002 photometric file from a polar detector of a non-sequential scene (OP6)
  • POST /v1/optics.report — The simulation report of a non-sequential scene: units, sources, detectors in lumens / lux / candela with chromaticity and CCT, the energy accounting (OP6)

Referees

  • the rectangle’s solid angle exact
  • the Lambertian disc’s on-axis irradiance
  • the slab’s Fresnel series T² / (1 − R²)
  • the integrating sphere’s multiplier and the ABg TIS closed form
  • 683 lm/W, D65’s white and the CIE overcast sky’s 7πL/9
  • Mitsuba 3’s irradiance meter, diffuse plate and constant sky (env-gated)
  • colour-science’s blackbody chromaticity (env-gated)

Tracing (T track)

Pipeline solve_domain. No decision-stream events of its own. No decision-stream events yet: the ray accounting is metrics, not T-track events (OP5 slice 1).

Internal ledger

Documented for contributors in the repository ledger docs/optics-track.md, section “The ladder — twenty-two units (▲ engine, ► wiring, ● client)” (an engine renders it at /docs/tracks/optics-track).