Page 1 of 1

wrap-around world

PostPosted: Thu Dec 05, 2013 23:30
by Novacain
Just as an idea, would it be possible to create a mod that would make it so that at 10,000 blocks out (or however it is set at) the world connects to itself? it would give the illusion of a round world, while keeping the blocky texture that we love.


comments, suggestions, and takeover are welcome and appreciated :P

PostPosted: Thu Dec 05, 2013 23:39
by Casimir
Solution number one: You could make a mapgen based on two perlin noise. One north south, one east west. You place the center of them at 10000 and -10000 and in between they overlap. Make the overlapping like a Gaussian curve. This way you will have the same mapgen at 10000 like you have at -10000. Then teleport the player when they reach the border.
Solution number two: For all the mapgen, and all player actions log exactly what changed and apply it to the opposite site of the world as soon as it is loaded. And teleport.
Solution number three: Have you ever used all the space between 10000 and -10000 ? Even if the world would be a warp-around world, you would not notice ;)

PostPosted: Fri Dec 06, 2013 05:24
by hoodedice
Solution number three: Have you ever used all the space between 10000 and -10000 ? Even if the world would be a warp-around world, you would not notice ;)


Press F5.
-----------------------------------------------

I think Solution number 1 is the best one here. I think paramat will be able to implement it. Mapgen is pretty tough for any other mortal around here

PostPosted: Fri Dec 06, 2013 18:36
by Novacain
my thought was the same code could be used at a smaller level to make a type of dwarf-planet if one so desired. I personally just felt like placing this idea out there.

PostPosted: Fri Dec 06, 2013 19:05
by Erthome
There might be another approach... a bit "far out and imaginative" (thank you paramat) but I posted a wrap-around world idea in association with the spherical moon mod https://forum.minetest.net/viewtopic.php?pid=120787#p120787...I will repost it here if anyone wishes...but I don't want to spam...

PostPosted: Sat Dec 07, 2013 19:56
by Novacain
lol. that was actually what gave me the idea to post this idea here too :P

PostPosted: Sat Dec 07, 2013 22:46
by Erthome
What is with the post dates here...LOL I could understand if the server was displaying local timestamp of the poster, but I posted December 6th above and it says May 29th, then Novacain posted today and his says August 30th--OMG the space time continuum is breaking down and it's all our fault for playing Minetest !! LOL [tic]

PostPosted: Mon Dec 09, 2013 01:10
by SegFault22
Rather than teleporting the player, the server could send to the client the chunks at -10000, when the player goes past the chunks at +10000, and thus no glitchy teleporting or Gaussian curves for terrain generation would be needed.

PostPosted: Mon Dec 09, 2013 09:05
by rubenwardy
There was a post like this in 2012.

PostPosted: Sun Dec 15, 2013 03:59
by SegFault22
rubenwardy wrote:There was a post like this in 2012.

Well maybe the subject needed to be brought up again, without necroposting. Obviously, the idea wasn't implemented back then, and some of us, like I, would like to see it implemented in a mod or setting. Would you rather us exhume that rotting post from back in 2012, or revive the subject and set in course an implementation?

PostPosted: Mon Dec 16, 2013 01:47
by Gambit
SegFault22 wrote:
rubenwardy wrote:There was a post like this in 2012.

Well maybe the subject needed to be brought up again, without necroposting. Obviously, the idea wasn't implemented back then, and some of us, like I, would like to see it implemented in a mod or setting. Would you rather us exhume that rotting post from back in 2012, or revive the subject and set in course an implementation?


Not to mention 2012 is way back and so was Minetest. Today we're nearing 2014 and Minetest evolve so much since than.