Search Unity

Procedural Generation in DOTS

Discussion in 'Entity Component System' started by Resshin27, Oct 29, 2019.

  1. Resshin27

    Resshin27

    Joined:
    Apr 21, 2018
    Posts:
    31
    Hey, I have been fiddling with new DOTS setup in Unity 2019.3b.
    I went through the documentation of Entities package mentioning about creating a separate Streaming World and using Exclusive Entity Transaction for procedural generation.
    Can someone please point me how to utilize these concepts to do procedural generation in DOTS?
    Or some more concepts which I am missing completely?
    Or please direct me towards a sample project which implements Procedural generation with DOTS?
     
    vildauget likes this.
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,769
    Procedural generation of what?
    Anything procedural are just algorithms.
    Often using some noise like Perlin.
    So either you do in DOTS, or in classic way with OOP, it will work the same way in principles.
    Of course with huge benefits of DOTS.
     
  3. vildauget

    vildauget

    Joined:
    Mar 10, 2014
    Posts:
    121
    Seems I'm in the same spot as you, @Resshn27 , and thus searched and found this post. Searching for a bit older material, got me here, which seems to answer our questions, as well as give great advice on how to speed up the generation.

    Cudos to @5argon for all the great sharing. <3
     
  4. Resshin27

    Resshin27

    Joined:
    Apr 21, 2018
    Posts:
    31
    Hey! Thanks a lot. Will surely check it out :)