Expand description
Per-frame render settings shared by the CPU renderer.
Historically this module also held voxlap’s opticast orchestrator
(the four-quadrant 2.5D scan loops). That renderer was replaced by
the per-pixel 3D-DDA renderer in crate::dda and removed; what
remains is OpticastSettings, the framebuffer + projection +
scan-distance bundle both the DDA renderer and the sprite raycaster
still consume. (The name is kept for API stability; “opticast”
survives only as a label for the settings struct.)
Structs§
- Opticast
Settings - Per-frame settings the renderer forwards through its passes. Most
fields map onto a classic raycaster control:
(hx, hy, hz)are the pinhole projection centre + focal length (the voxlapsetcameradahx/dahy/dahz),mip_*drive the distance-mip ladder, andmax_scan_distbounds the ray.