Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Geometry Box Model #408

Open
bjornbytes opened this issue Apr 12, 2021 · 0 comments
Open

Audio Geometry Box Model #408

bjornbytes opened this issue Apr 12, 2021 · 0 comments
Labels

Comments

@bjornbytes
Copy link
Owner

It's cool that you can set an audio mesh, but sometimes I'm too lazy to make a model or a table of vertices. The Oculus spatializer has this thing called a "simple box model" where you can define a width/height/depth of the room, and it will use this for spatialization.

Adding the ability to use a width/height/depth for the geometry instead of a mesh would make it easier to try out audio mesh stuff (can use 3 numbers instead of a triangle mesh), and would allow for first-class support of the oculus box model. Spatializers that don't natively support a box model can always fall back to a triangle mesh generated from the box dimensions.

Proposed API:

lovr.audio.setGeometry(width, height, depth, material)

@bjornbytes bjornbytes added the feature yay label Apr 12, 2021
@bjornbytes bjornbytes changed the title Audio geometry box model Audio Geometry Box Model Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant