Add FB hand mesh support with GLB fallback (#934)

Use the XR_FB_HAND_TRACKING_MESH extension to render hand models when supported,
and fall back to the bundled GLB hand models otherwise. This fixes incorrect hand
model rendering on PFDM MR device, Have tested with PFDM MR V4.5.0 version.
This commit is contained in:
EasonZxp
2026-05-26 09:40:37 +02:00
committed by GitHub
parent 18d685976e
commit 6a72c537c2
11 changed files with 451 additions and 4 deletions
+2
View File
@@ -61,6 +61,7 @@ class system
instance * inst = nullptr;
XrSystemId id = XR_NULL_SYSTEM_ID;
bool hand_tracking_supported_ = false;
bool hand_mesh_fb_supported_ = false;
passthrough_type passthrough;
body_tracker_type body_tracker;
face_tracker_type face_tracker;
@@ -91,6 +92,7 @@ public:
XrSystemBodyTrackingPropertiesBD bd_body_tracking_properties() const;
bool hand_tracking_supported() const;
bool hand_mesh_fb_supported() const;
passthrough_type passthrough_supported() const;
face_tracker_type face_tracker_supported() const;
body_tracker_type body_tracker_supported() const;