The core feature in Sector's Edge is its destruction. When a building is no longer connected to the ground, it should come crashing down.
Buildings could be composed of hundreds of thousands of voxels, so we need an incredibly quick way of checking if a building is floating or not. I call these Floating Voxel Checks (FVC).
I was still in university when I was working on this back in 2020, so I killed 2 birds with 1 stone and did my computer science major project on FVCs.
I've attached the full 30-page report to this post, which covers the 7 different FVC algorithms I created. They use all sorts of fancy optimisations, and one of them optimises itself over time!
In the end I combined a few algorithms together to achieve up to 2133x faster FVCs.

I'm still searching for the code for this. I'll upload it to the paid GitHub repository when I find it.
Mykei Johnson
2024-08-28 23:20:51 +0000 UTCVercidium
2024-08-28 23:14:25 +0000 UTCMykei Johnson
2024-08-28 04:25:54 +0000 UTCVercidium
2024-08-28 04:17:20 +0000 UTCMykei Johnson
2024-08-27 16:08:04 +0000 UTCMykei Johnson
2024-08-26 16:03:48 +0000 UTCMykei Johnson
2024-08-25 13:30:36 +0000 UTCVercidium
2024-08-25 11:35:54 +0000 UTCMykei Johnson
2024-08-25 11:28:35 +0000 UTCVercidium
2024-08-25 07:56:14 +0000 UTCMykei Johnson
2024-08-25 01:54:54 +0000 UTCMykei Johnson
2024-08-25 00:05:39 +0000 UTCVercidium
2024-08-25 00:01:41 +0000 UTCMykei Johnson
2024-08-24 23:37:24 +0000 UTCVercidium
2024-08-24 23:21:04 +0000 UTCMykei Johnson
2024-08-20 04:21:11 +0000 UTCVercidium
2024-08-20 04:15:22 +0000 UTCMykei Johnson
2024-08-19 23:52:46 +0000 UTC