From d8166352578d9305f15c9fb1ea9d686f4640d970 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 21:44:01 +0400 Subject: 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. --- adapters/fparkan-render-vulkan/src/ffi.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapters/fparkan-render-vulkan/src/ffi.rs') 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, -- cgit v1.2.3