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

Is there any demo how to use arbitrary shape? #7

Open
wyw97 opened this issue Nov 16, 2021 · 1 comment
Open

Is there any demo how to use arbitrary shape? #7

wyw97 opened this issue Nov 16, 2021 · 1 comment

Comments

@wyw97
Copy link

wyw97 commented Nov 16, 2021

Hello, I find that the examples are all rectangular shapes. How can I use some other shapes. Thank you.

@RoyJames
Copy link
Collaborator

This example script is a good place to start with. We load the cube.obj file in the script, which can describe arbitrary shapes. You can find our implementations here. This feature requires the user to be somewhat familiar with wavefront obj format. It can be created by common 3D modeling software like Blender. Frequency-dependent acoustic material coefficients are defined in the object's corresponding .mtl file (e.g., cube.mtl) as sound_s (scattering) and sound_a (absorption).

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

No branches or pull requests

2 participants