Re: Linux? back

Board: Home Board index Logistics Lighthouse 2

(L) [2019/09/15] [ost by straaljager] [Re: Linux?] Wayback!

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.

[IMG #1 Image]
[IMG #2 Image]
[IMG #1]:Not scraped: https://web.archive.org/web/20210518022335im_/https://i.postimg.cc/NMCVXFTg/lighthouse2-instanced-dragons.png
[IMG #2]:Not scraped: https://web.archive.org/web/20210518022335im_/https://i.postimg.cc/pdxgbgRt/lighthouse2-legocars.png
(L) [2019/09/16] [ost by jbikker] [Re: Linux?] Wayback!

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. [SMILEY ;)]
(L) [2019/09/17] [ost by straaljager] [Re: Linux?] Wayback!

Thanks! Looking forward to an updated version  [SMILEY :)]
(L) [2019/09/26] [ost by jbikker] [Re: Linux?] Wayback!

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.
(L) [2019/10/02] [ost by straaljager] [Re: Linux?] Wayback!

Awesome! We'll give this a try once we receive RTX cards at work.
(L) [2019/10/08] [ost by jbikker] [Re: Linux?] Wayback!

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.

back