I'm trying to create a strategy game. It is voxel-based. Here is an example of what I have:
This is a radius 5 "circle".
I tried to create a radius 100 but I get an error regarding memory. The algorithm creates a big
Array with all the
translation. Then I thought that the
Array was too big, so I decided to do another algorithm, something like a "generator", so I do not need to save all the
Vector3 in an
Array. The previous image was generated with that algorithm. But the problem persists. The error is:
ERROR: All memory pool allocations are in use.
There are not overlaped voxels. The maximum radius I can achieve is 73.
I get the next information from the editor in the 73 limit:
And from the Windows Task Manager:
So it seems that there is some limitation to the memory that Godot can handle.