Search Unity

World Building PANGAEA Terraform ✅- GPU Fluid and Spline Based Terrain Generator

Discussion in 'Tools In Progress' started by nasos_333, Nov 6, 2020.

  1. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    PANGEA Terraform - GPU Fluid and Spline Based Terrain Generator

    This is the new ARTnGAME major asset release, for Terrain generation based on a GPU enabled fluid simulator. The module presents a new way of sculpting of terrains using a real time fluid solution fully controllable by the user.

    The system allows for real time manipulation and generation of effects like erosion and land sculpting, and is working directly on GPU for maximum performance.

    A spline system is used to curve roads and rivers on the terrain, or place mountains and define terrain regions for editing.

    Base version Features:
    - GPU based terrain editing for real time performance on any of the effects, even the most demanding ones like erosion
    - Fluid based erosion and real time curving of terrain with eroding water brush
    - Global rain simulation to create rivers and river maps
    - Direct application of solution to Unity terrains and creation of overlapping river map, with rivers flowing at run time
    - Optional Mesh based terrain system with LODs
    - Spline based control system for creating mountains, curving roads, rivers and creating stamp maps
    - Powerful stamp system with 3D preview, GPU accelerated, with brush scaling and rotation, replacing or additive stamping
    - Direct real time Stamp of any 3D object with the Depth Map stamper
    - Multi terrain editing, with brushes applied across 4 neighbor terrains
    - Mesh from spline and wall generation system
    - Big Variety of Noise functions on GPU, for easy, fully parametric and fast terrain formation generation
    - Various levels of Undo, state saving and restoration, non destructive spline based manipulation, roads and mountain definition
    - Parametric GPU based Hex grid generation
    - Physics based object placement system

    Pro version features:
    - Connection to ARCGis for real world map retrieval and use for the game map formation
    - Procedural City and surrounding road and fields generator and auto terrain formation around it
    - Meta mesh based object generation system for easily creating organic formations, rocks, caves etc
    - Road generation system, with intersections, bridges etc
    - Procedural buildings generation system
    - Procedural rock generator
    - OpenStreetMap data importer for building and roads

    and many more features to be added until release.

    Dynamic Spline based roads


    Hex map and terrain editing



    Real time fluid and rain simulation for erosion and river - lake curving


    Splines based manipulation


    Erosion based path curving at specified heights


    Multi terrain brush application


    Noise based terrain generation

     
    Last edited: Dec 25, 2020
    Sab_Rango likes this.
  2. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Reserved
     
  3. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Reserved
     
    Last edited: Nov 6, 2020
  4. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Reserved
     
  5. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Reserved
     
  6. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Reserved
     
  7. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Stamp preview



    Mask painting directly on them map for global rain simulation control


    Terrain sculpting


    Spline based mesh generation and automatic adaptation to terrain


    Procedural city generation (Pro version)


    Erosion in GPU based sculpting






    Hex GPU mapping



    Meta mesh sculpting (Pro Version)



    Real world retrieval of height and splat maps (Pro Version)


    Fluid GPU based flow map and river - lake generation, river flow simulation also in game time


     
  8. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    Cool :)
     
    nasos_333 likes this.
  9. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Thanks :)
     
    adamgolden likes this.
  10. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Rain simulation in game time, controlled by a mask that can be painted also in run time.


    Multi terrain editing and Fluid Simulation

    Local fluid painting and erosion
     
    Last edited: Nov 6, 2020
  11. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Terrain Curving and editing in Higher solution resolution, here using 64x64 cells grid versus 32x32 in all previous videos
     
  12. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Sample terrain shaders WIP - Parallax effects (Pro version), with embedded fluid simulation for water to adjust flow in real time around rocks and dynamic obstacles
     
    Last edited: Nov 6, 2020
  13. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    PANGAEA Terraform - Noise based map generation and Water fluid simulation

    Noise and Hex map generation
     
  14. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Solution space (Rendertextures + Mesh terrain with LODs)




    Solution passed to Unity terrain at various height settings


    Transferring of the solution to Unity terrain at various heights, the system will have various ways of transferring the solution to final Unity terrains including adapting it to an existing terrain, or stamping it in a replacing way etc

    An existing Unity terrain can also be set as initial height map and be further edited with the fluids system and the other asset tools and passed back to Unity terrain when finished.
     
  15. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - Procedural city and Spline Road - non destructive stamping for real time changes
     
  16. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    Added more noise options, one of which allows splitting of land into fields using Hierarchical Voronoi tessellation.
     
    Bartolomeus755 likes this.
  17. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Water based terrain sculpting showcase.
     
  18. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    A sample of the Hierarchical Voronoi tessellation in shader, this can also be used for generating a texture that will color the fields directly. A texture making module using the terrain tools is also in the works together with the terrain sculpting tools.

    I am also adding a special preview mode to control the effect, by previewing the shader texture directly in the inspector when parameters are changed, like the above image, before the application to terrain.
     
  19. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    River curving WIP
     
  20. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338







    PANGAEA Terraform
    - New ARTnGAME GPU based terrain formation tool

    Curving irregular fields using Hierarchical Voronoi noise
     
    Last edited: Nov 25, 2020
  21. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Automatic procedural field generation WIP
     
    Lars-Steenhoff likes this.
  22. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338














    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool
    Voronoi noise - hierarchical noise and eroding noise terrain curving samples
     
  23. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    HDRP shader WIP for the editor and mesh terrain option

    The shader is created in ShaderGraph and will be compatible with both URP and HDRP
     
  24. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338



    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    HDRP shader WIP for the editor and mesh terrain option and testing with InfiniGRASS v2.0 HDRP.
     
  25. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338



    PANGAEA Terraform
    - New ARTnGAME GPU based terrain formation tool


    HDRP shader WIP for the editor and mesh terrain option
     
  26. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Added exponential falloff to all functions, used in various ways depending on the tool.
     
  27. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338



    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Multi terrain editing and river curving, 4 adjustent terrains can be edited at the same time.
     
  28. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Multi terrain editing, stamping the solution on multiple Unity terrains.
     
  29. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Multi terrain editing, stamping the solution on multiple Unity terrains.

    The first version of the GPU based Stitching module is now ready
    and can be applied before the stamping on Unity terrains to guarantee a seamless connection between neighboring terrains.
     
  30. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Addressed a few issues with the water rendering and lighting - shadowing, also automated the various materials grab the same parameters for all 4 terrains, in multi terrain editing mode.
     
  31. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338



    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool

    Run time Water based terrain sculpting WIP showcase.
     
  32. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338




    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase.

    Added all tools to the system and refining the parameters and controls. A new video showcasing all the controls will be uploaded soon.
     
  33. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Mask based rain control


    Height based rain control

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase.

    Added mask painting of rain simulation mask at run time.
     
  34. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase.
     
  35. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase. River curving example (bottom image), using run time painted mask (top image).

    Added mask painting of rain simulation mask at run time.
     
  36. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338




    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase. River curving example with various water levels control. The water level is controlled by adjustment of the rain and evaporation factors.
     
  37. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting WIP showcase. Automatic lake and waterfalls creation WIP.
     
  38. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338





    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Added multi terrain editing in the run time module and demo, seems to be working great and with minimal impact in performance because of the massive parallel GPU processing.
     
  39. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Run time Water based terrain sculpting showcase. The brush shown in the video can be used to smoothly transition from the height the mouse is clicked on to the height nearby, creating the base for roads. Also added height indicator to the system so now is evident where the brush will be applied on the terrain.
     
  40. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform
    - New ARTnGAME GPU based terrain formation tool.

    More samples of the river making process.
     
  41. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338











    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    More samples of the terrain making process.
     
  42. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    UPDATE:

    Added height pointer to pinpoint the exact spot where the brush will be applied.
     
    Sab_Rango likes this.
  43. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338






    PANGAEA - Terrain Generation with GPU Fluid Simulation & Splines is almost ready for release, currently doing the final touches and prefabs for fast usage and finalizing the manual.

    The system is planned to be submitted early next week.
     
  44. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338


    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    More samples of the terrain making process using the various prefabs created for the final release.
     
  45. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    UPDATE:
    Added passing of an existing Unity terrain heightmap to the Mesh terrain, can be used directly in Mesh terrain mode and edited further with GPU on Mesh and than pass back to Unity terrain.

    Also added few more features in the run time demo and refined it further.
     
  46. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338



    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    New 3D noise module, can be stamped directly to mesh terrain and changed at run time

    This will be a PANGAEA Pro feature and the plan is to also enable creation of rock formations with cavities if possible and low poly style terrains.

    PANGAEA will be compatible with Sky Master ULTIMATE and InfiniGRASS Studio (v2.0)
     
    Last edited: Jan 26, 2021
  47. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338

    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Tweaking the run time demo, the demo will soon be available to test all system tools directly.
     
  48. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    UPDATE:

    The new 3d Noise system has now been integrated in the run time demo and will available for testing soon.
     
  49. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    PANGAEA Terraform - New ARTnGAME GPU based terrain formation tool.

    Added stamping of the shader based GPU solution to Mesh terrain and collider creation, for supporting collisions and physics, also added demo with physics applied to the terrain with cubes collision on its collider.

    PANGAEA will be compatible with Sky Master ULTIMATE and InfiniGRASS Studio (v2.0)
     
  50. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,338
    Update:

    The splat mapping solution base for the system is now ready and currently being adapted to do run time splatting for the upcoming real time demo. Run time splat mapping is planned to be a feature of PRO version.