Skip to content

Acoustic Geometry - Diffraction and Transmission#4

Open
phevosccp wants to merge 52 commits into
mainfrom
aud-geometry-rebased
Open

Acoustic Geometry - Diffraction and Transmission#4
phevosccp wants to merge 52 commits into
mainfrom
aud-geometry-rebased

Conversation

@phevosccp

Copy link
Copy Markdown
Contributor

Description

This PR adds the carbon-audio side of geometry-based spatial audio using Wwise Spatial Audio.

It receives simplified geometry from Trinity, registers geometry sets/instances in Wwise Spatial Audio,
and provides runtime-configurable spatial audio settings exposed as Blue properties.

Related PRs:

Related Documentation:

Technical details

Data flow

  1. Trinity extracts simplified mesh geometry.
  2. Trinity sends it via ITr2AudGeometry.
  3. Carbon Audio registers geometry sets and geometry instances in Wwise Spatial Audio.
  4. Transform updates refresh instance placement.
  5. On cleanup, the instance is removed, then the geometry set is removed when no instances remain.

New Classes

  • AudGeometry
    Implements ITr2AudGeometry in carbon-audio.
    Manages geometry set upload, instance creation/update/removal, and geometry set refcount lifecycle.

  • SpatialAudioSettings
    Owns all Wwise Spatial Audio configuration (ray count, diffraction order, transmission loss, etc.)
    and populates AkSpatialAudioInitSettings at init time.

Testing

Tested for Frontier and with a scene-setup in Graphite:

Recording.2026-02-24.130952.mp4

phevosccp added 30 commits March 2, 2026 10:18
… not register complex geometries above a certain vertex count. plus some clean up of debug code
…d sending extracted world-matrix scale to

  Wwise geometry instances.
…iffraction querries are updated for performance
@phevosccp phevosccp requested a review from ccp-zoetrope June 30, 2026 14:09
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.

1 participant