feat(render): apply static node fallback poses

This commit is contained in:
2026-07-18 16:14:58 +04:00
parent cfa6d27032
commit 858dcd0d1d
7 changed files with 286 additions and 4 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ use fparkan_render::{
use fparkan_render_vulkan::{
project_land_msh_to_static_mesh_in_legacy_world_space,
project_land_msh_to_static_mesh_in_xy_frame,
project_msh_to_static_mesh_in_world_space_with_transform,
project_msh_to_static_mesh_in_world_space_with_node_fallback_poses,
project_msh_to_static_mesh_in_xy_frame, VulkanPlanningBackend, VulkanSmokeFrameOutcome,
VulkanSmokeRenderer, VulkanSmokeRendererCreateInfo, VulkanStaticCamera, VulkanStaticMaterial,
VulkanStaticMesh, VulkanStaticTexture, VulkanStaticXyFrame,
@@ -288,7 +288,7 @@ fn static_preview_mesh_and_materials(
format!("static preview visual {visual_id:?} references unknown model {model_id:?}")
})?;
let component = if legacy_camera.is_some() {
project_msh_to_static_mesh_in_world_space_with_transform(
project_msh_to_static_mesh_in_world_space_with_node_fallback_poses(
&model.validated,
LegacyIron3dEulerTransform {
translation: root.position,