Closed afarlie closed 8 years ago
There are two things that make raytracing systems like POV-Ray generally unsuited for simulating sound propagation:
(1) The human eye is very poor at discerning wavelengths, making a three-band model perfectly sufficient for most applications, to the extent that this limitation to three bands is usually hard-coded in raytracing software. The human ear is far superior in this respect, and every high-end equalizer is testimony to the fact that the acoustic properties of a room need at least a dozen or more bands to be modeled properly.
(2) When simulating light in everyday situations, the geometry is always many orders of magnitude larger than the wavelength, causing the particle-like nature of light to be dominant; structures of wavelength size are either too small to be noticed, or so regular in nature that they can be described by simple mathematical laws, leading to the "ray" model used in raytracing. Sound, on the other hand, is typically encountered in situations where the geometry is of similar order of magnitude as the wavelength, making the wave-like nature dominant. For such situations, the "ray" model is fundamentally inadequate, especially in its biased incarnation used throughout POV-Ray.
As far as (1) is concerned, some work has been done in POV-Ray to make it easy to use an alternative colour model, such as a multi-band spectral model, but that work hasn't been finished yet.
As far as (2) is concerned, I suspect this to be a much more fundamental problem. Unbiased rendering approaches might be able to cope with it, provided the notion of phase can somehow be integrated into the "colour" model.
Either way, this will absolutely positively not be a feature of POV-Ray in any foreseeable future. You'll have to write your own patch, or hope for someone else to write a patch for you.
Thank you for the fast response.
Given the model limitations you note above, rendering this unsuited to povray's back end, Can you suggest a project where an appropriate back end could be developed? The hope was to utilise parts of the Povray IDE and front end if the license allows for a "fork"
This is a long term whishlist item, but I had asked in the unofficial IRC channel on Freenode as to the existence of a Povray for 3D soundscapes (which might not be of this earth!)
The IRC chat:-
Supercoilider seemed to be a low level library.
ReSound is an academic project. (http://gamma.cs.unc.edu/Sound/RESound/)
In terms of my "not of this world comment" there was some research done by Professor Paul White of Southampton University in 2012 on the propagation of sound on extra-terrestrial worlds with different atmospheres..