Skip to content

Instanced mesh audio geometry - #154

Merged
phevosccp merged 6 commits into
mainfrom
instanced-mesh-audio-geometry
Nov 19, 2026
Merged

phevosccp merged 6 commits into
mainfrom
instanced-mesh-audio-geometry

Conversation

@phevosccp

@phevosccp phevosccp commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Description

This PR has 2 main purposes, a) it adds audio geometry for instanced meshes and refactors the old code in EveSpaceObject2 and EveChildMesh by grouping a lot of the duplicate code in a helper class named EveAudioOccluder.

Depends on : carbonengine/audio#32

Changes

  • Added EveAudioOccluder, a helper that registers one mesh instance with carbon-audio, keeps its transform updated and unregisters it when destroyed.
  • EveSpaceObject2 and EveChildMesh now use EveAudioOccluder instead of their own registration code.
  • EveChildInstancedMeshes registers one occluder per instance.
  • TriGeometryRes reads the audio geometry from CMF. If the file has no authored occlusion mesh it uses the lowest LOD, controlled by the new setting eveAudioOcclusionLodFallback.
  • Removed the audio geometry extraction for .gr2 files.

Testing

  • Built trinity_dx12 Internal locally and tested in a frontier client.

@phevosccp
phevosccp marked this pull request as ready for review November 13, 2026 15:09
@phevosccp
phevosccp force-pushed the instanced-mesh-audio-geometry branch from 8b684ca to 9568dd5 Compare November 18, 2026 13:02
@phevosccp
phevosccp merged commit d979677 into main Nov 19, 2026
14 checks passed
@phevosccp
phevosccp deleted the instanced-mesh-audio-geometry branch November 19, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants