AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Occlusion and obstruction

0 支持
Has anyone used the occlusion/obstruction functionality? If so, how did you do it? Also, further to that, how about in Unity?
Dave C. (190 ポイント) 2013 11/21 質問 General Discussion

回答 1

+1 支持

Obstruction/Occlusion is currently supported only through code calls.  We don't provide any geometry-based analysis yet.  You can check the Wwise SDK documentation ([Wwise]\SDK\Help) for SetObjectObstructionAndOcclusion as a basis.  There is numerous ways to integrate this, some more complex (and costly) than others.

A quick and dirty way would simply be to use the raytracing functionality between all sound emitters of importance and the listener.  If there is a hit, you'll need to determine what you did hit.  Is it a wall splitting 2 rooms?  A simple object?  If a wall, then you could assume occlusion and either hardcode an occlusion level or set it based on the material.  If it is not a wall, then set the obstruction level. 

There are entire papers based on sound propagation :)  Each game has its own needs and (more importantly) its limit in terms of CPU and memory it wants to spend on that particular problem.  So we provide the basic hook to feed obstruction/occlusion, but the actual geometry analysis is left for the game programmer.

Mathieu J. (Audiokinetic) (7,120 ポイント) 2013 12/3 回答
I read your knwoledgebase about Obstruction/Occlusion.I have a question."Instead of using ray-tracing, try defining volumetric zones approximations."

how to do ray-tracing and the other solution with UE3?
...