Search Unity

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

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

[Serious Gaming] Vessel Tracking Visualisation

Discussion in 'Editor & General Support' started by kneave, Sep 18, 2014.

  1. kneave

    kneave

    Joined:
    Aug 14, 2014
    Posts:
    17
    I work for a non-profit in the UK and one of the projects we are working on is sustainability of the oceans, part of that involves creating a system that uses satellite data to track vessels at sea. The idea is that we are able to see who is behaving and who isn't and act accordingly. More info here for those curious.

    Our previous version used standard web technologies to put dots on maps but as we've a 11520x3240px video wall powered by three NVidia K6000 graphics cards I figured it's time we build something far cooler for the visualisation and Unity was my first though! I've a built a simple tile renderer to show WMS tiles in game so that we can reuse part of our GIS stack but the biggest hurdle I'm hitting is with the rendering of the vessels.

    What we need is to render a representation of a vessel on the screen, moving across the map and leaving a track behind. At the minute we've around 200,000 vessels but that's due to grow as more data sources become available.

    I've tried a number of different options, all with their own benefits and issues, which I'm starting to document now but I was wondering how people would approach this issue and if there are any resources available for serious gaming on this scale?

    Thanks,
    Keegan
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    7,561
  3. kneave

    kneave

    Joined:
    Aug 14, 2014
    Posts:
    17
    Cool, thanks for the links. I've gone back to one of the solutions I tested and thrown billboards in instead of the default particles and it seems to increase performance. It does indeed look like I'll have to learn a lot more to get this working properly, I'm only a few months in to using Unity so writing a custom shader will be a task for the future I think.

    For now I'll continue with our brute force method, it's based on this tutorial and I'm performing a lerp to calculate and redraw the particles in the right location;
    http://www.catlikecoding.com/unity/tutorials/graphs/

    I'll have a proper look at the forest code too, that looks like it will be very useful!
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    7,561
unityunity