Page 2 of 2
Posted: Sun Sep 15, 2019 11:03 am
After some testing, I found that Lighthouse 2 can currently load about 1400 (37x37) instances of a dragon and about 2000 instances of the lego car model. If I go higher than that, a cudaMemcopy() fatal error occurs.
Posted: Mon Sep 16, 2019 6:59 am
Yes, 12 bit is reserved for the instance index, as discussed earlier. Apparently something is still 'signed' somewhere so you lose another bit, yielding 2048. I suspect it will work till 2047, after that you will get the crash. This will be relaxed in a future version.
Awesome dragon scene btw.
Posted: Tue Sep 17, 2019 6:58 pm
Thanks! Looking forward to an updated version
Posted: Thu Sep 26, 2019 3:25 pm
An updated version appeared. You now get 4 billion instances of 4 billion triangles, if you have the memory. This comes at the expense of barycentric coordinate accuracy, so having a 4km x 4km floorplane with a 32k x 32k texture may be less accurate than it was. For most use cases this seems to be a reasonable trade-off.
Latest version also supports animations with skinning from gltf files. This is WIP; normals are not yet transformed, values for consistent normal interpolation may need an update, the whole flow could use some optimization and ideally, it should run in parallel with GPU work. But that's for later.
Posted: Wed Oct 02, 2019 7:32 pm
Awesome! We'll give this a try once we receive RTX cards at work.
Posted: Tue Oct 08, 2019 11:03 am
Marijn Suijten created a Linux port of Lighthouse 2:
This will be rolled into the main repo soon.
Note that the Linux repo does not yet include the recently added Vulkan core.