Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Plate Tectonics and Continental Drift in World Gen  (Read 2081 times)

therahedwig

  • Bay Watcher
    • View Profile
    • wolthera.info
Re: Plate Tectonics and Continental Drift in World Gen
« Reply #15 on: March 07, 2019, 07:33:39 am »

It might actually be easier to just implement regular tectonics, reverse engineering them is only really interesting for the world editor :)

Looking at the blog Ninjabread linked the actual code itself is not super complicated, the problem is rather the data storage, which is a common problem for DF already. Like, DF has thinks like drainage, vegetation and elevation, now image there's several extra of those maps(blog mentions crust density/age/thickness, but I also imagine direction and speed are necessary). From the fact DF is already able to name islands and continents, I think there's already code that could potentially recognise and name plates. Because everything would be in a grid, it might not even be hard to reverse engineer fault lines, hell, if it's gonna work like the blog post, then tectonic plates could work in more mystical worlds too. (Imagine a world with a massive 'black hole' in the middle and the tectonic plates and ocean water just kinda drifting off into it, taking whole islands or even continents, and everyone dreading the day their home drifts off into it.)

However, the post does make clear that tectonics move in speeds of several million years. Thoth is describing a world with super fast tectonics, to make the latter possible you'd have to ensure it is still running post-worldgen.

I don't think it'll be super complex, but it might in fact be so uncomplex that it won't even show up during the first myth release, but instead in a dedicated 'earthquakes and volcanos bonanza' release. The most complex thing that is necessary is that the world itself can be modified post worldgen, which seems something that the myth map rewrite would take into account. (The actual hard map rewrite involves basically everything with coordinates, it is waaaay bigger than anything discussed so far.)

I'm sorry if this is rambly, but I am sorta thinking aloud :)
Logged
Stonesense Grim Dark 0.2 Alternate detailed and darker tiles for stonesense. Now with all ores!

exdeath

  • Bay Watcher
    • View Profile
Re: Plate Tectonics and Continental Drift in World Gen
« Reply #16 on: March 12, 2019, 07:28:33 am »

He should do even more than that, using magma convection currents and plate density differences to generate the tectonic plates (instead of doing random tectonic plates like everyone else), like this would was thinking about doing with his generation but quit before finishing it.

http://www.bay12forums.com/smf/index.php?topic=76404.0
Logged

GoblinCookie

  • Bay Watcher
    • View Profile
Re: Plate Tectonics and Continental Drift in World Gen
« Reply #17 on: March 13, 2019, 06:54:17 am »

It might actually be easier to just implement regular tectonics, reverse engineering them is only really interesting for the world editor :)

Reverse engineering plate tectonics is a necessary consequence of having the myth generator generate the landmasses.  We are basically forced to either create the land masses according to the plate tectonics to start with and then reverse engineer the myths according to the landmasses or we have to create the land masses according to the myths and reverse engineer the plate tectonics accordingly.  From what I know the idea is for the myths to come first and the world to be generated according to the myths.

However, the post does make clear that tectonics move in speeds of several million years. Thoth is describing a world with super fast tectonics, to make the latter possible you'd have to ensure it is still running post-worldgen.

Superfast tectonics would be a matter to be decided by the myth generator.  A world with such tectonics would be a rather dangerous place to live, so it is basically a hostile world setting for world generation. 
Logged
Pages: 1 [2]