Expand description
eulumdat-rt — GPU ray tracing engine for photometric simulation.
Pure wgpu compute pipeline. No Bevy dependency in Phase 1. Validates against the CPU reference (eulumdat-goniosim) via CIE 171:2006.
§Example
use eulumdat_rt::GpuTracer;
let tracer = pollster::block_on(GpuTracer::new()).unwrap();
let result = pollster::block_on(tracer.trace_isotropic(1_000_000, 15.0, 5.0));
println!("Detected energy: {}", result.total_energy());Re-exports§
pub use camera::CameraConfig;pub use camera::CameraImage;pub use camera::GpuCamera;
Modules§
- camera
- Camera ray tracing — renders images from the same physics engine.
Structs§
- GpuDetector
Result - Result from a GPU trace — detector bins as f64.
- GpuMaterial
- GPU material — matches GpuMaterial in WGSL.
- GpuPrimitive
- GPU primitive — matches GpuPrimitive in WGSL.
- GpuTracer
- The GPU photon tracer.
- GpuTracer
Config - GPU trace configuration — matches TraceConfig in WGSL.
Enums§
- Source
Type - Source type enum (matches WGSL switch).