mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-05 11:09:39 +00:00
730baa8733
Add a new workflow step that renders the Quake3 MD3 player head to a small offscreen GPU render target each frame and exposes it to the overlay as "overlay.head_gpu_tex" with face rectangle metadata. Implement WorkflowQ3HudHeadStep (kHeadSz=64) and its header; register the step in the workflow registrar and add it to the CMake build and q3_overlay workflow JSON. Update q3 HUD drawing to use the live 3D portrait when available (fall back to the icon otherwise). Extend overlay.sw.end to blit the head texture into the HUD face rect (BlitHeadPortrait), with lazy allocation of a vertex buffer and sampler and proper cleanup. Also add resource release logic and small API includes where needed.