WEBGPU BVH DEMO

Uses WebGPU compute shaders to build a BVH and renders the result with ray tracing. Drag and drop an .obj file to begin.
(or load scene by button)

Triangles : { 2,000,000 }

Parse File: { 0.000001s }
Build BVH : { ------ ms }

in particular:
aabb-z-idx: { ------ ms }
radix-sort: { ------ ms }
radix-tree: { ------ ms }
bvh-up-pass: { ------ ms }
rearrange: { ------ ms }

build-bvh: { ------- ms }

RTRT-fps: { 0 FPS }
















only flat normals are supported (smooth normals support will be added later)