Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: An Open-Source Planetary Terrain generation tool

  1. #1
    Guild Novice
    Join Date
    Nov 2009
    Location
    São Paulo, Brazil
    Posts
    21

    Default An Open-Source Planetary Terrain generation tool

    Greetins to all.

    I have been, for a time, working on a tool that generates procedural planetary textures out of noise function, and applies some basic erosion algorithms into it. I have come to the point where I think I could share what I have for now, in case anyone of you find it of value.

    I called it "WorldMaker". It's part fractal terrains, part wilbur.

    https://github.com/d1060/WorldMaker/

    It's made on Unity and currently only supports Windows.

    Some Screenshots:

    WM-Scr2.pngWM-Scr1.pngWM-Scr3.pngWM-Scr4.pngWM-Scr5.pngWM-Scr6.pngWM-Scr7.png

    If you like it, or if you find any issue with it (there's bound to be some), please let me know. Also, if anyone would like to contribute to the code, drop me a message either here or on GitHub. I still plan to add some features and do some maintenance, but I would welcome any other pair of arms to help it grow.

    Best regards to all.

  2. #2
    Guild Expert johnvanvliet's Avatar
    Join Date
    Jul 2012
    Location
    N 42.39 W 83.44
    Posts
    1,091
    Blog Entries
    4

    Default

    adding some noise functions to get the mountains a bit better might be nice
    this is what i am getting using Blender nodes
    Screenshot_20211001_134036.png
    --- 90 seconds to Midnight ---
    --------

    --- Penguin power!!! ---


  3. #3

    Default Very useful

    I was just searching for something like this! Definitely going to give it a try.

  4. #4
    Guild Novice
    Join Date
    Nov 2009
    Location
    São Paulo, Brazil
    Posts
    21

    Default

    I have just added a few features to improve the variability of generated textures. I included the ability of using two different "layers" of noise each with different configurations, and the option of using "Domain Warping" noise instead of the raw "Fractal Browninan Motion" of Simplex Noise.

    Latest release is 1.0.6

    ScreenShot.1.0.6-1.jpgScreenShot.1.0.6-2.jpgScreenShot.1.0.6-3.jpgScreenShot.1.0.6-4.jpgScreenShot.1.0.6-5.jpg

    I am still not satisfied with the erosion algorithm. I am looking for something that can come close to wilbur, but that's easier said than done. Anyway, the coding persists.

  5. #5
    Administrator waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    3,604

    Default

    Which Wilbur algorithm are you interested in ?

  6. #6
    Guild Novice
    Join Date
    Nov 2009
    Location
    São Paulo, Brazil
    Posts
    21

    Default

    Well, what I'd really like is the "incise flow" algorith, with the "precipition-based" erosion coming a close second.

  7. #7
    Administrator waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    3,604

    Default

    Incise Flow computes the number of cells upstream flow at each point, then does a logarithm on that count and subtracts it from the height. The flow map is computed by moving from the current cell towards the highest cell in the 8-way neighborhood, adding to a count at each point. This means that there is an upstream flow journey from each point on the surface. The results aren't quite correct, but are generally good enough.
    A search for the term "precipiton" (note spelling) will get you the idea, but it's pretty much pick a random spot on the surface, locate the lowest neighbor, and move some percent of the difference between the two to the lower cell. Then move to the lowest point and keep going until you hit a pit or go out of the area of interest. This model is a simple cellular automaton, unlike Incise Flow.

  8. #8
    Guild Novice
    Join Date
    Nov 2009
    Location
    São Paulo, Brazil
    Posts
    21

    Default

    I will try that out. Thanks a lot.

  9. #9
    Guild Novice
    Join Date
    Nov 2009
    Location
    São Paulo, Brazil
    Posts
    21

    Default

    Thanks to your reply, waldronate, I managed to implement an algorithm that pretty much resembles a Wilbur Incise Flow. Enough that I can start playing around with it on my own. Much obliged.
    Screenshot-20211013.jpg
    Last edited by D1060; 10-13-2021 at 08:46 PM. Reason: Fixing image link

  10. #10

    Default

    What are the minimum system requirements for the program?
    How much RAM, how much video memory, etc?

    I suspect it's too much for my laptop to handle: it shows a Unity logo, then the screen goes black and my audio system pops, then I see a blank, full-screen window with borders. Clicking on the X (exit) window decoration causes Windows to generate a popup which says the program is not responding.
    Selden

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •