5 ms·
My first exposure to working with voxels was in jMonkeyEngine (https://jmonkeyengine.org/ https://jmonkeyengine.org/) with a few plugins, when i wanted to displ
by KronisLV 5y ago
My first exposure to working with voxels was in jMonkeyEngine (https://jmonkeyengine.org/ https://jmonkeyengine.org/) with a few plugins, when i wanted to display the sort of representation of a world that you see in games like Minecraft (the closest i had previously done was using particle systems for visualizing point cloud data).
Almost immediately, it became clear that any sort of a larger world needs a lot of optimizations done to work properly, so there were quite a few algorithms to be grokked.
Personally, i found quite a few posts talking about things like meshing:
- https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/
- https://blackflux.wordpress.com/2014/02/23/meshing-in-voxel-engines-part-1/
- https://blackflux.wordpress.com/2014/03/01/meshing-in-voxel-engines-part-2/
- https://blackflux.wordpress.com/2014/03/02/meshing-in-voxel-engines-part-3/
And also even a few about things like real time occlusion culling, which doesn't get talked about a lot:
- https://procworld.blogspot.com/2015/08/voxel-occlusion.html
Nowadays, i'd advise that people look at the more established projects/engines out there if they just want to get something working, though it can also definitely be interesting to try getting something working all by yourself.
Also, in regards to pretty interesting voxel engines out there, i do believe that Ken Silverman's Voxlap engine deserves a mention: http://advsys.net/ken/voxlap.htm http://advsys.net/ken/voxlap.htm
It was written around 20 years ago, yet remains an interesting project to this day - its performance is impressive, and IIRC it achieves this in a software rendering mode, something that's surprising even today. It was actually the basis for the Ace of Spades game, the modern (free) version of which is known as OpenSpades: http://openspades.yvt.jp/ http://openspades.yvt.jp/ (though i think that the project now uses a different renderer maybe, it's been a while).
- CodeGlitch 5y agoHey I was a developer on Ace of Spades when it was taken over by Jagex. Fun fact: it was written in python, which meant the hackers had an easy time reversing the net code, meaning cheating basically ruined the game. The game did have some fun aspects to it, especially the zombie mode (every game needed a zombie mode for some reason). Bad management and bad technical choices destroyed the game. For example a mobile version was developed, no idea why anyone would think that would work...