Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

A Terrain LOD with QuadTree in ECS ?

Discussion in 'Entity Component System' started by ComteJaner, Jul 30, 2018.

  1. ComteJaner

    ComteJaner

    Joined:
    Jun 9, 2013
    Posts:
    9
    How would you go in doing a terrain quad tree based LOD ? Something ROAM, or this : https://www.gamasutra.com/view/feature/131841/continuous_lod_terrain_meshing_.php?page=2.

    First, what would be an ECS friendly or cache-friendly way to structure a quadtree? Or even a good way to make the tree without reference types ?

    Also, how would you deal with all the "horizontal dependencies" in the tree (dependent activation of vertices) ?

    I know the question is a little big vague, I just don't know where to start.
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,574
  3. ComteJaner

    ComteJaner

    Joined:
    Jun 9, 2013
    Posts:
    9
    This reference is very cool thank you! But this is still the easy to undersand and easy to frame into the ECS framework type of application : parrallel, very vertical with few horizontal interactions...