jonlab / NewAtlantis

http://www.newatlantis.world/
9 stars 6 forks source link

Acoustic materials #25

Open jonlab opened 8 years ago

jonlab commented 8 years ago

As well as we have Materials (=graphics) and PhysicMaterials(=physics), we need "AcousticMaterials" to change the way that sound reflects (for example with the NAReflectionsFX component) on objects. This could be implemented as a component itself that would need to be applied to an object. Parameters could be : Low frequency absorption, High frequency absorption, diffusion...

rolandcahen commented 8 years ago

Todo after LeCube performance if possible

petesinc commented 8 years ago

another (simple) approach would be % reflection ie one could increase reflection tp 99% if so desired.

jonlab commented 8 years ago

Yes, I think this is more consistent with the graphical aspects of 3D, how we handle colors and materials : with colors, a high value (white is RGB 1 1 1) means a high reflection, a low value (black 0 0 0) means a low reflection.

jonlab commented 8 years ago

As well as we have Reflection values, we can have Transmissions values, that control how the sound go through the object (that has this AcousticMaterial). All these AcousticMaterials would be used by the Audio pathfinding to construct the weighted graph.