I am writing webgpu ray tracer, is anyone interested in this topic?

I did RTRT (real-time ray tracing) with dynamic LBVH rebuilding for each frame :smiley: (online webgpu demo)

you can drag&drop obj files to canvas (set shadow depth to zero if too dark)

P.S.:

Vega7 (5600G iGPU)

LBVH build time :

[264 tris] scene 1 (animation) 2.9 ms

[156 tris] scene 2 (simple) 2.2-2.7 ms

[218,724 tris] scene 3 (chess) 12.5 ms

2 Likes

How are you ? :smiley: check my LBVH ray tracer (post above),

demo allows (by setting a checkbox) to rebuild LBVH for each frame

P.S.:

those who have powerful video cards, I wonder how scene #3 will work for you with the rebuild LBVH checkbox set and the camera close to the figures? (full screen window) :smiley:

Briefly the results (full screen, checkbox set, and place the board approximately as in the screenshot):

1080p, fullscreen, Vega 7 (5600G iGPU), 7 FPS,

1440p, fullscreen, RTX3080 10Гб, 55 FPS (GPU load is approximately 83-85%),

Edge, 4K, fullscreen, RTX 4090, 68 fps

@erichlof @carolhmj @Happy0Ending @jelster @Bumpy check it out !!

7 Likes

Amazing! :heart_eyes_cat:
I get incredible 100 FPS at 3456x2234 on MacBook Pro M4 MAX (chess scene)!!

3 Likes

Gosh this is impressive mate!!!

2 Likes