WebGPU is a powerful GPU-API for the web that supports advanced low-overhead rendering and GPU compute pipelines. The Marching Cubes algorithm, used for 3D surface reconstruction, can be implemented in WebGPU. The algorithm breaks down the problem into computing individual pieces of the surface that pass through each voxel. A parallel implementation of the algorithm is possible using GPU parallelism. The performance of the WebGPU implementation is comparable to native Vulkan. Datasets such as Skull, Bonsai, Foot, and Aneurysm were used to test the performance. WebGPU opens up possibilities for running high-performance applications in the browser.

13m read timeFrom willusher.io
Post cover image
Table of contents
Introduction to Marching CubesGPU-Parallel Marching CubesPutting it all Together in WebGPUConclusion: WebGPU Performance vs. Vulkan

Sort: