Video yükleniyor...
Video Yüklenemedi
Ray tracing sound on the GPU (Work in progress). Since the whole game is running on the GPU, I found it convenient to do the sound management and the ray tracing on the GPU as well. Each frame the CPU receives a sound queue from the GPU to process,... show more
19,839 görüntüleme • 2 yıl önce •via X (Twitter)
10 Yorum

I’ve been really interested in this project since I found it! It runs so fast! By chance is it open source anywhere so I can see how it’s done? It’s amazingly clean, and runs incredibly fast for such a detailed/dense voxel scene on the web!

Thanks for the kind words, but I have no plans of open-sourcing it

Does it introduce any kind of delay on sound playback? I always hear people saying CPU->GPU roundtrips introduce delay (unless you force sync and destroy performance)... Anyway incredible job! I'll keep an eye 👀

@jodemi_ Yeah the GPU->CPU roundtrip adds some delay because it's async, but it shouldn't be too bad. I think the WebAudio API also adds some delay on certain effects, but I'm still too early in the topic to say where the limits and bottlenecks are..:)

would love if you have any resources on sound propagation that you can reccomend for something like this, it sounds great!

@_PowellR @Vercidium has a great article on their Patreon page, giving an overview of the ideas how it can be implemented :)

hrtf ?

Yes!

You mean I won't be able to hear bones rattling from 35 blocks away through solid stone as if they were right behind me? That sounds amazing!

holy crap this is really cool.

