Page 1 of 1

[Modpack] Mapgen Utils [mgutils]

PostPosted: Sat Oct 29, 2016 19:16
by qwertymine3
This is a set of utility mods which I made for making my own Lua mapgen.

Please Note:
  • They are not designed to follow the conventions of the default mapgen API. In addition significant portions of the mapgen API are not supported by these mods.
  • They are primarily designed for ease of use, not performance. However these mods should not add significant performance overheads.
  • The APIs that are presented are subject to change.
  • These mods should work well together, but interfaces which are incompatible may be released.

mgnm: Noise Manager
This mod provides a combined interface for noise creation, buffer management, composition and indexing.
+ more info

mgmini: Minifier
This mod allows for all created noises to be scaled, to help view/test large scale noises.
+ more info


nlnoise: Noisedef Normaliser
This mod modifies a noise definition, such that the resulting noise has a range of +-noise.scale.
+ more info


-- License: MIT

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Sun Oct 30, 2016 21:21
by azekill_DIABLO
wow.

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Sun Oct 30, 2016 21:56
by TheReaperKing
Just a heads up, the first github link has a typo, you meant mgnm not mgmn

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Sun Oct 30, 2016 22:54
by qwertymine3
TheReaperKing wrote:Just a heads up, the first github link has a typo, you meant mgnm not mgmn

Thanks, fixed.

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Mon Oct 31, 2016 11:07
by azekill_DIABLO
This is a great addition to mapgen, i hope many mods will use it!

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Sun Feb 12, 2017 23:20
by qwertymine3
Update!

Finally wrote an API reference for mgnm. Please suggest improvements for it.

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Mon Feb 13, 2017 16:42
by TheReaperKing
This sounds super interesting. Do you happen to have any screenshots?

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Tue Feb 14, 2017 01:05
by qwertymine3
TheReaperKing wrote:This sounds super interesting. Do you happen to have any screenshots?

Here is a comparison for mgmini - Not particuarly good looking, but I had to remove the 3d noise (manually) used in the red hills, due to it being used with a 2d noise. (There is no way to detect this - I need to add a way for the user to give hints).
+ Details

Also I didn't scale the height the mapgen adds sand - so the amount is inflated.
Other than that though, everything else scales well (including the 3d caves if you look closely).
Image
Image

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Tue Feb 14, 2017 01:51
by TheReaperKing
Wow so crazy!! Map gen stuff always fascinates me :)

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Tue Feb 14, 2017 08:10
by qwertymine3
I quickly added the annotation system I'm talking about (not yet released), and it improved the output quite a bit:
Image

Re: [Modpack] Mapgen Utils [mgutils]

PostPosted: Tue Mar 14, 2017 00:18
by qwertymine3
Large update to mgnm and the test mod.

Now depends on mgbm - new MapGen Buffer Management mod.
https://github.com/Qwertymine/mgbm
OP and API ref is now out of date - will update when I have time.