Voxel 3d “grid”
-
26-09-2019 - |
Question
What in your opinions, would be the best language to create a large (massive..) 3d voxel based grid in?
i.e. like Minecraft (http://www.minecraft.net/)
I note that Minecraft was created in Java, this obviously has it's disadvantages. Help me make a decision! :)
p.s. This is community wiki, so no points gained, just after opinions :)
Solution
The data structures you pick are going to be a lot more important than the language you choose. A language that lets you achieve locality of reference will likely have speed advantages in collisdion detection and visiblity calculations, but you can get this even with managed languages.
Minecraft is a pretty decent POC that Java can handle huge voxels worlds as long as you don't write your code retardedly :)
OTHER TIPS
You may want to have a look at Field3D, which is a C++ library for storage of voxels (both in memory and on disk).