[HN Gopher] Real-Time Ray-Tracing in WebGPU ___________________________________________________________________ Real-Time Ray-Tracing in WebGPU Author : Schampu Score : 32 points Date : 2020-01-14 20:49 UTC (2 hours ago) (HTM) web link (maierfelix.github.io) (TXT) w3m dump (maierfelix.github.io) | ArtWomb wrote: | >>> Recently I began adapting an unofficial Ray-Tracing extension | for Dawn, which is the WebGPU implementation for Chromium | | Wow, very impressive! I believe this is only available for MacOS | Chrome Canary, with enable-unsafe-webgpu flags toggled on. But we | are starting to see more example code. | | https://github.com/tsherif/webgpu-examples | | This is the first specific RTX target engine I've seen so far | though. Starting to feel like the future with full time real-time | hardware rendering capabilities in the browser ;) | | Do you mind my asking what you plan to build with it? | Schampu wrote: | Hey thanks for you comment. | | The Ray-Tracing Extension is currently only available for | Windows and Linux. | | My next plan is to implement the extension into Dawn's D3D12 | backend, so I can build chromium with my Dawn fork and have | Ray-Tracing available directly in the browser (at least for | myself) :) | CountHackulus wrote: | Now if only Apple would get off their high horse and allow SPIRV | so that the WebGPU standard can go forward. | hinkley wrote: | I read Practical Parallel Rendering (1st Edition: 2002) quite a | long time ago, on someone's recommendation. There's quite a | substantial section on how to build and manage effective job | queues that's worth a read even if you don't do any CGI. | | But there's also a thesis in there: given that scene descriptions | grow in size much faster than screen resolution increases, there | should be a tipping point where ray-tracing is more efficient | than rasterization. I don't think they expected it to take quite | this long though. | 91edec wrote: | Is there any good WebGPU tutorials? | | I've been wanting to play around with graphics programming for a | while and the web is such a perfect platform due to cross | platform compatibility and lower barrier for entry. ___________________________________________________________________ (page generated 2020-01-14 23:00 UTC)