Skip to main content

euv_core/game/engine3d/jianlai/
enum.rs

1/// Martial arts and ultimate NLA actions playable on the rigged Jianlai swordsman character.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum JianlaiAction {
4    /// Poised crane-breath sword stance with gentle hovering spirit sword and swaying sleeves.
5    #[default]
6    InkStance,
7    /// Fluid spinning figure-eight sword combo slashes with sweeping cyan-ink arc trails.
8    FlowingSwordDance,
9    /// Mid-air sword-seal ultimate summoning an 18-sword Bagua/Taiji orbiting halo and vortex barrage.
10    MyriadSwordsReturn,
11    /// Low crouch qi-charge unleashing a calligraphic ink shockwave and colossal golden crescent sword-qi wave.
12    SkyCleavingSwordQi,
13    /// Heroic cloud-step sword-flight glide hovering above the misty mountain cliff.
14    CloudStepGlide,
15}
16
17/// Complete Blender render and inspection modes supported live across the Jianlai scene.
18#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
19pub enum JianlaiRenderMode {
20    /// Default Jianlai ink-wash donghua 3D-to-2D style with multi-band cel ramps, Freestyle ink outlines, and mineral pigments.
21    #[default]
22    InkWashDonghua,
23    /// High-contrast Cycles PBR studio lighting with metallic/roughness speculars and ray-traced reflection/shadow setup.
24    CyclesPbr,
25    /// Real-time Eevee golden-hour volumetric cliff mist, warm palace lantern glow, and Karis bloom preset.
26    EeveeVolumetric,
27    /// Blender sculptor studio Solid Matcap / Clay surface inspection shading.
28    SolidMatcap,
29    /// Mesh topology wireframe cage combined with the live animated 27-bone octahedral Armature overlay.
30    WireframeArmature,
31    /// Live shader debug inspection passes (`Normals`, `RoughnessMetallic`, `Depth`, `FreestyleInkContour`).
32    ShaderDebugPass,
33}
34
35/// Selectable diagnostic channel rendered when `JianlaiRenderMode::ShaderDebugPass` is active.
36#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
37pub enum JianlaiDebugChannel {
38    /// RGB world/surface normal orientation visualization.
39    #[default]
40    Normals,
41    /// False-color roughness (green) and metallic (blue) PBR material diagnostic channel.
42    RoughnessMetallic,
43    /// Linearized depth gradient from camera near-to-far planes.
44    Depth,
45    /// Pure Xuan-paper white base with sumi-ink black Freestyle contour line-art pass.
46    FreestyleInkContour,
47}
48
49/// Top-level sculpted scene presets available inside `/blender` Tab 1.
50#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
51pub enum JianlaiStagePreset {
52    /// Full Jianlai swordsman rig, karst cliff, flying-eave pavilion, ink-pine, and ultimate VFX stage.
53    #[default]
54    HeroInkCliff,
55    /// Five sculpted spirit swords showcasing Principled BSDF materials and `.euv3d` v2 quantized roundtrip.
56    SpiritSwordGallery,
57    /// Full flying-eave pavilion and Bagua stone terrace with four cinematic Blender perspective cameras.
58    ImmortalPavilionMultiCam,
59}
60
61/// Cinematic camera angle presets framing the Jianlai cliff and ultimate attacks.
62#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
63pub enum JianlaiCameraPreset {
64    /// Heroic three-quarter medium framing showcasing robes, spirit sword, pavilion, and cliff peaks.
65    #[default]
66    HeroThreeQuarter,
67    /// Dramatic low-angle donghua action framing emphasizing Sky-Cleaving Sword Qi and Myriad Swords halo.
68    LowAngleUltimate,
69    /// Wide mountain-and-water scroll panorama framing the entire cliff, pavilion, and ink-pine.
70    CliffPanorama,
71    /// Elevated overhead camera inspecting the engraved Bagua terrace, 18-sword halo, and cloth drape.
72    SwordArrayOverhead,
73}