programs/pathtrace's renderer instantiated in the cluster float mode Z (every op flushed): pt_*_z, the CPU and wasm reference
$ sexc add @ajax/pathtrace-z- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 01:59v/# 1 version
- drwxr-xr-x-Oct 27 01:59files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 01:59 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/pathtrace-tile ^0.1.0, @ajax/mesh-ftz ^0.1.0, @ajax/pathtrace-default-scene ^0.1.0
- dependents
- @ajax/mesh-assemble, @ajax/mesh-blobd, @ajax/mesh-prog-pathtrace-wasm, @ajax/mesh-ref-pathtrace
- keywords
- alphaos mesh pathtrace renderer ftz determinism
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/pathtrace-z
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/pathtrace-z 2 3programs/pathtrace's renderer in the cluster float mode: every operation through `@ajax/mesh-ftz` 4(`pt_sample_z`, `pt_tile_pass_z`, …). This is the CPU reference and the wasm image's renderer: a tile 5rendered with it is bit for bit the tile every backend must render. 6 7**Ported from** mesh-ref's `impl Real for Z` (`crates/mesh-ref/src/pathtrace.rs`). Freestanding. 8 9**Tested** with golden digests from the Rust's Z instance (tiles, scalars, samples, as in 10`@ajax/pathtrace-f32`). The tile digest is the same as the f32 instance's, which is the Rust's 11`f32_and_z_agree` test: no value of the default scene is subnormal.