afritz1 / OpenTESArena

Open-source re-implementation of The Elder Scrolls: Arena.
MIT License
915 stars 68 forks source link

Implement 3D positional audio #166

Closed afritz1 closed 4 years ago

afritz1 commented 4 years ago

This is a feature not present in the original engine. Essentially the OpenAL Soft code needs to be modified so it can play both 1) sound on camera, and 2) sound at a 3D point.

The audio manager should send position/rotation values of the camera, etc. to OpenAL Soft in its update() method every frame.

Places of note:

afritz1 commented 4 years ago

Merged in #170.