diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 20:44:01 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 20:44:01 +0300 |
| commit | d8166352578d9305f15c9fb1ea9d686f4640d970 (patch) | |
| tree | 0b5a248cf52b247f08aaeca265517a842abb72ff /adapters/fparkan-render-vulkan/src/ffi.rs | |
| parent | 78a63745f471c028c0ed67f133de9034e901c905 (diff) | |
| download | fparkan-d8166352578d9305f15c9fb1ea9d686f4640d970.tar.xz fparkan-d8166352578d9305f15c9fb1ea9d686f4640d970.zip | |
feat(camera): render the authored cockpit geometry
Sample state 0, group 4 from the active camera component. Keep its moving model attached to the unit and apply the CTLD camera projection only to those draw ranges.
Checked in the Constructor at the stock start and while looking sideways, plus the first cockpit in AutoDemo with Vulkan validation. The native depth ordering and matched warbot comparison remain open.
Diffstat (limited to 'adapters/fparkan-render-vulkan/src/ffi.rs')
| -rw-r--r-- | adapters/fparkan-render-vulkan/src/ffi.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/adapters/fparkan-render-vulkan/src/ffi.rs b/adapters/fparkan-render-vulkan/src/ffi.rs index 04be2d35..92e4291e 100644 --- a/adapters/fparkan-render-vulkan/src/ffi.rs +++ b/adapters/fparkan-render-vulkan/src/ffi.rs @@ -22,9 +22,11 @@ mod swapchain; mod swapchain_resources; mod validation; +const FRAME_VIEWS_PER_SLOT: usize = 3; + pub use self::asset_mesh::{ node38_pose, node38_pose_from_hierarchy, node38_pose_relative_to_root, - node38_pose_relative_to_root_from_hierarchy, + node38_pose_relative_to_root_from_hierarchy, project_cockpit_msh, project_land_msh_lod_to_static_mesh_in_world_space, project_land_msh_to_static_mesh, project_land_msh_to_static_mesh_in_world_space, project_land_msh_to_static_mesh_in_xy_frame, project_msh_to_static_mesh, project_msh_to_static_mesh_in_world_space, |
