euv-core 0.56.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Default dielectric index of refraction (crown glass).
pub const RT_DEFAULT_GLASS_IOR: f32 = 1.5;

/// Default liquid water index of refraction.
pub const RT_DEFAULT_WATER_IOR: f32 = 1.333;

/// Default camera vertical field of view in degrees.
pub const RT_DEFAULT_FOV_DEG: f32 = 45.0;

/// Minimum allowed perceptual roughness preventing singular GGX distributions.
pub(crate) const RT_SCENE_MIN_ROUGHNESS: f32 = 0.002;

/// Minimum geometric epsilon for light sampling and camera basis construction.
pub(crate) const RT_SCENE_EPSILON: f32 = 1e-6;

/// Plastic constant generalized golden ratio `g2` for the 2D R2 low-discrepancy sequence.
pub(crate) const RT_R2_PLASTIC_G: f64 = 1.324_717_957_244_746;

/// FNV-1a 64-bit hash offset basis for deterministic camera motion fingerprinting.
pub(crate) const RT_FNV_OFFSET_BASIS: u64 = 0xcbf2_9ce4_8422_2325;

/// FNV-1a 64-bit prime multiplier for deterministic camera motion fingerprinting.
pub(crate) const RT_FNV_PRIME: u64 = 0x0100_0000_01b3;

/// Mesh label for the rotated inner Cornell Box cube.
pub(crate) const RT_CORNELL_BOX_CUBE_NAME: &str = "cornell_box_cube";

/// Mesh label for the sunlit outdoor monolith mesh.
pub(crate) const RT_OUTDOOR_MONOLITH_NAME: &str = "outdoor_monolith";

/// Mesh label for the glass gallery pedestal mesh.
pub(crate) const RT_GALLERY_PEDESTAL_NAME: &str = "gallery_pedestal";