Voxel Engine Speed Improvements
Added 2024-05-28 07:06:08 +0000 UTCBeen working on improving voxel data generation speed in Lay of the Land by using Intel's ISPC. Still working on it but the results are super promising. I've managed to get a 2-3x speedup depending on hardware.
Average Bulk Voxel Data Query Time:
Intel i7 6700k: 3.4x speedup
No ISPC: 6.123ms
ISPC: 1.759ms
AMD Ryzen 7 7800X3D: 2.6x speedup
No ISPC: 3.085ms
ISPC: 1.176ms
This makes many aspects of the game faster. It has also allowed me to reduce the amount of caching of voxel data that I need to do as I can now generate that data fast enough on the fly. This means the game now uses less memory. Yay.
Comments
You can't do much except make bloc updates async (which would break rendering until it's done calculating, so like x ray view (optifine had that feature iirc))
Niels Germann
2024-06-09 17:58:27 +0000 UTCMost of the time on my computer runs fine, the main issue is when has to update tons of voxels, if i break some stone using the cubic mode, it take a while to back to normal, when saving has lag as well, but in general the game is amazing soo far
Vinícius Schadeck
2024-05-30 15:03:43 +0000 UTCIt runs a bit slow on my laptop, just enough to be pretty annoying. Super excited for this!
Nicholas Reilly
2024-05-29 23:00:20 +0000 UTCGreat!! The game generally runs pretty well on my laptop, but it takes a while (1-3 minutes) for it to make new worlds, and it lags a bit while saving. Sounds like this'll make it faster. Thanks for working so hard on the game! Excited to see where it goes :)
Ava M.
2024-05-28 22:40:36 +0000 UTCWoop woop you got this
mrwoofwoof
2024-05-28 13:53:16 +0000 UTCCant wait for it!
Domonic shultz
2024-05-28 07:10:06 +0000 UTC