Gameplay
Cubic Chunks: Reduced lag, infinite height, and more [The #1 Suggestion Thread of all time!][Updated! 6/14]
Poll: Which parts of this system do you like?
Ended May 15, 2014
Poll: Which parts of this system do you NOT like?
Ended May 15, 2014
Poll: Do you support this system's implementation overall? (If yes, if
Ended May 15, 2014
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOkay.
So each 3DRegion-File contains it's own HeightMap? This is exactly what I call a waste of memory:
What's the global HeightMap again then?
Please don't tell me you wan't to make one giant file that contains a HeightMap.
Or is this Hyper-Heightmap a object that exists for every dimension in every world at runtime, and contains the HeightMap for the whole dimension, then this is also not a good idea at all.
The thing I wan't to say is, that if you wan't to store something in any way, then don't make it so you have to do a O(n) search for it.
You have to split up the data in some way to reduce the O(n) effect, because this will cause incredible performance issues then.
Trust me: I tried to store cubic chunks in a lot of ways, and the order:
Block->Chunk->3DRegion->RegionColumn->Dimension->World just happen's to be the best one.
The next best thing I can think of, would be to store the columns inside a Quadtree, which I didn't try yet out of time reasons.
Maybe @Nocte has a even more performant way to store the chunks?
- Longor1996
What happens when you delete the the bottom block on a heightmap, and there's only one heightmap for the world? You have to load chunks infinitely downwards until you find a block to replace it. With one heightmap every 3DRegion file? You only need to load the equivalent of one chunk every 256 chunks to update the heightmap. The way the heightmap is stated to be stored in the main post now is for a reason. Originally, it was just one, just one heightmap for the whole world, and large issues were brought up as part of that.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOkay, then thats the thing I didn't read when it was brought up in this thread.
Sorry for the waste of your time!
- Longor1996
Why store the X and Z in the DAT files when they are already organized in the XZ column? You could do this with those files only having a Y coordinate in there.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWoops! I accidentally swapped the "region.y.dat" with "region.x.z.dat"!
It's the other way around logically. My bad.
- Longor1996
(I really shouldn't write any code when having a headache, right...?)
Last suggestion they took was witch huts, but i think this is 10x better!
Also. No x-ray = Server owner's best friend!
As it will be in the future, it was at the birth of Man
There are only four things certain since Social Progress began.
That the Dog returns to his Vomit and the Sow returns to her Mire,
And the burnt Fool's bandaged finger goes wabbling back to the Fire;
And that after this is accomplished, and the brave new world begins
When all men are paid for existing and no man must pay for his sins,
As surely as Water will wet us, as surely as Fire will burn,
The Gods of the Copybook Headings with terror and slaughter return!
-The Gods Of The Copybook Headings, by Rudyard Kipling.
i hope thay are going to implement this
+1
edit: yay, first post after being registered for more than a year xD
Thanks for the support. And congratulations on your first post!
It really is needed. Especially for Creative mode.
As it will be in the future, it was at the birth of Man
There are only four things certain since Social Progress began.
That the Dog returns to his Vomit and the Sow returns to her Mire,
And the burnt Fool's bandaged finger goes wabbling back to the Fire;
And that after this is accomplished, and the brave new world begins
When all men are paid for existing and no man must pay for his sins,
As surely as Water will wet us, as surely as Fire will burn,
The Gods of the Copybook Headings with terror and slaughter return!
-The Gods Of The Copybook Headings, by Rudyard Kipling.
Me too. I love your signature, by the way.
As it will be in the future, it was at the birth of Man
There are only four things certain since Social Progress began.
That the Dog returns to his Vomit and the Sow returns to her Mire,
And the burnt Fool's bandaged finger goes wabbling back to the Fire;
And that after this is accomplished, and the brave new world begins
When all men are paid for existing and no man must pay for his sins,
As surely as Water will wet us, as surely as Fire will burn,
The Gods of the Copybook Headings with terror and slaughter return!
-The Gods Of The Copybook Headings, by Rudyard Kipling.
Thanks for your support!
As it will be in the future, it was at the birth of Man
There are only four things certain since Social Progress began.
That the Dog returns to his Vomit and the Sow returns to her Mire,
And the burnt Fool's bandaged finger goes wabbling back to the Fire;
And that after this is accomplished, and the brave new world begins
When all men are paid for existing and no man must pay for his sins,
As surely as Water will wet us, as surely as Fire will burn,
The Gods of the Copybook Headings with terror and slaughter return!
-The Gods Of The Copybook Headings, by Rudyard Kipling.
As it will be in the future, it was at the birth of Man
There are only four things certain since Social Progress began.
That the Dog returns to his Vomit and the Sow returns to her Mire,
And the burnt Fool's bandaged finger goes wabbling back to the Fire;
And that after this is accomplished, and the brave new world begins
When all men are paid for existing and no man must pay for his sins,
As surely as Water will wet us, as surely as Fire will burn,
The Gods of the Copybook Headings with terror and slaughter return!
-The Gods Of The Copybook Headings, by Rudyard Kipling.
NOW