Skip to main content

euv_core/game/engine3d/mesh/
enum.rs

1/// Supported 3D model interchange formats parsed natively by `ModelImporter3D`.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum ModelFormat {
4    /// Wavefront `.obj` ASCII geometry format (`v`, `vt`, `vn`, `f`, `usemtl`, `mtllib`).
5    #[default]
6    Obj,
7    /// Khronos glTF 2.0 `.gltf` JSON descriptor with buffer views, accessors, and Principled PBR materials.
8    GltfJson,
9    /// Khronos glTF 2.0 `.glb` self-contained binary container.
10    GlbBinary,
11    /// Zero-copy baked `.euv3d` runtime asset bundle (meshlets, QEM LODs, pre-baked BVH4).
12    Euv3dBinary,
13    /// Native Blender `.blend` header and DNA metadata inspection payload.
14    BlendInspect,
15}
16
17/// Optional procedural micro-detail shading mode attached to a `PbrMaterial`.
18#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
19pub enum SurfaceDetailMode {
20    /// Pure physically based Cook-Torrance GGX material without procedural pattern overlays.
21    #[default]
22    None,
23    /// Procedural multi-archetype architectural facade with reflective curtain-wall glass, limestone ashlar, brick courses, and fluted concrete panels.
24    ArchitecturalFacade,
25    /// Procedural urban ground surface with wet asphalt, chamfered granite curbs, concrete slab sidewalks, cobblestone plazas, park grass, and winding river channel.
26    RoadSurface,
27    /// Animated photorealistic Beer-Lambert liquid ocean water with Gerstner waves, Fresnel reflections, sun glitter, and shoreline foam.
28    OceanWater,
29    /// Procedural running-bond architectural brick and terracotta masonry with mortar courses and subtle apartment windows.
30    MasonryBrick,
31    /// Procedural coursed travertine/granite ashlar stonework with beveled mortar joints and damp mossy crevices.
32    StoneCobble,
33    /// Procedural organic botanical foliage and meadow shading with cellular leaf variation and sunlit subsurface translucency.
34    OrganicFoliage,
35    /// Soft volumetric cumulus cloud shading with sunlit silver-lining forward scattering and cool atmospheric undersides.
36    VolumetricCloud,
37    /// Animated shimmering turquoise river water surface with directional current ripples, sky reflections, and caustics.
38    RiverWater,
39}