Page 2 of 2

Re: Linux?

Posted: Sun Sep 15, 2019 11:03 am
by straaljager
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.

Image
Image

Re: Linux?

Posted: Mon Sep 16, 2019 6:59 am
by jbikker
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. ;)

Re: Linux?

Posted: Tue Sep 17, 2019 6:58 pm
by straaljager
Thanks! Looking forward to an updated version :)

Re: Linux?

Posted: Thu Sep 26, 2019 3:25 pm
by jbikker
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.

Re: Linux?

Posted: Wed Oct 02, 2019 7:32 pm
by straaljager
Awesome! We'll give this a try once we receive RTX cards at work.

Re: Linux?

Posted: Tue Oct 08, 2019 11:03 am
by jbikker
Marijn Suijten created a Linux port of Lighthouse 2:
https://github.com/MarijnS95/lighthouse2/tree/linux
This will be rolled into the main repo soon.
Note that the Linux repo does not yet include the recently added Vulkan core.