Stratum experiment

Post Reply
User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Stratum experiment

by Pyrollo » Post

I got bored quite quickly with ore distribution so I started playing with map generation.

I got some funny screenshot with early stage of development (it more like a proof of concept than any other thing).

Stratums structre so far :
Image

Stratums in mountains view :
Image
Attachments
screenshot_20180320_202429.resized.png
screenshot_20180320_202429.resized.png (783.16 KiB) Viewed 425 times
screenshot_20180320_220501.resized.png
screenshot_20180320_220501.resized.png (960.96 KiB) Viewed 425 times
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
ChimneySwift
Member
Posts: 320
Joined: Fri Sep 22, 2017 06:46
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift
Location: 127.0.0.1

Re: Stratum experiment

by ChimneySwift » Post

Huh... that's really cool!
A spoon is basically a tiny bowl with a stick on it

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Stratum experiment

by Gael de Sailly » Post

Looks very good, and seems to model geological strata quite well. Have you pushed the source somewhere?
Just realize how bored we would be if the world was perfect.

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: Stratum experiment

by Pyrollo » Post

Gael de Sailly wrote:Looks very good, and seems to model geological strata quite well. Have you pushed the source somewhere?
Not yet, but I plan to do it so.

The result will be quite different. I want to acheive something like stacked mines of minerals. Not sure to keep that geological aspect at the end.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: Stratum experiment

by Fixer » Post

I would love to see more geology aspect in it.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Stratum experiment

by texmex » Post

I'm also interested in the code :)

User avatar
csirolli
Member
Posts: 133
Joined: Mon Jan 15, 2018 21:46
GitHub: HeyITGuyFixIt
IRC: CSirolli
In-game: CSirolli
Location: Florida, USA
Contact:

Re: Stratum experiment

by csirolli » Post

Have you been able to go further with this?

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stratum experiment

by paramat » Post

Does this use the new 'stratum' ore type i added to the Ores API?

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: Stratum experiment

by Pyrollo » Post

Sorry I did not had time to post a working code (after that orginal post, I worked a bit on it... the result was a total mess).

No it does not uses the stratum type.

I used a stack of 2D noise maps, and divied the space between each map into 10 stratums. In each stratum, a material. That's the concept.

But there are still many things to improve and optimise.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Stratum experiment

by texmex » Post

How would you make it with stratum, paramat? I still suck at perlin noise. :(

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stratum experiment

by paramat » Post

It would be done a little like this https://github.com/minetest/minetest_game/pull/2109 but with tuned values.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Stratum experiment

by texmex » Post

Thank you, will check that out.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests