SamSuka
vercidium
vercidium

patreon


Floating Voxel Removal - Demo + Code

The code for my previous post about Floating Voxel Checks is now available on the paid VE GitHub repository.

  

The fvc folder contains the code from my original Computer Science Major Project.

The fvc2024 folder contains the code for the (even faster) algorithm used to detect floating voxels in Sector's Edge, which has:

I've also included a live demo that you can interact with - open fvc.sln and run the fvc2024 project to start it up. The controls are:

When performing a floating voxel check, all the voxels that are visited will be highlighted so you can see the path that it traverses when attempting to find the ground. I'd like to do some multithreaded magic here and slow down the algorithm so you can see it traverse voxels in real time.

Next Steps

I've got a couple weeks off work so I'll be fixing issues with the projects on GitHub, resuming work on the next video, and creating a "product" here on Patreon that has the code for all voxel tech I've worked on:

This code is already available on the $5/month Patreon tier, but I'd like to also list it as a paid product here for those who prefer to not pay a subscription.

Dropbox link for this post's assets


More Creators