Page 1 of 1

bvh build time (CPU vs opencl vs optix vs RTX)

Posted: Thu Jul 30, 2020 2:27 am
by xma
What's about bvh build time (CPU [embree] vs GPGPU [opencl vs optix vs RTX]) ? (with morton codes)

are there any comparisons ?

for example, World of Tanks enCore RT used (for RT shadows) embree (CPU) for bvh building (1.5M triangles), and DX11 Compute for RT tracing (this BVH with triangles)

Image

from here,
https://gamegpu.com/mmorpg-/-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%B8%D0%B3%D1%80%D1%8B/world-of-tanks-encore-rt-test-gpu-cpu

Re: bvh build time (CPU vs opencl vs optix vs RTX)

Posted: Thu Jul 30, 2020 10:19 pm
by graphicsMan
Not that I've seen, but testing Embree vs OptiX build time performance shouldn't be too tricky since they are both open source. Please consider writing something up and posting here.

Re: bvh build time (CPU vs opencl vs optix vs RTX)

Posted: Fri Jul 31, 2020 2:29 pm
by mpeterson
hi, embree is for shure not the fastest bvh builder around
but beating a low quality gpu-based bvh builder is impossible
on cpus today.

Re: bvh build time (CPU vs opencl vs optix vs RTX)

Posted: Fri Jul 31, 2020 6:50 pm
by graphicsMan
Yeah, I guess it's a matter of tradeoffs between high-quality and high build speed. mpeterson, are you saying that OptiX is building low-quality BVHs?

It would be interesting to see a chart of build times vs incoherent rays/s for several architectures.