November 5th, 2020 - Ben & Jace Talk: Level Streaming

November 5th, 2020

Ben & Jace Talk: Level Streaming

https://www.youtube.com/watch?v=omjFqZQV9fI&t=1212

Suggested Wiki Refrence Code

Topics

    Transcription

    1. Ben

      And then we go to the real question that I've answered tons of times on the QA side.

      It's the level streaming.

      Level streaming?

      Tell us about it.

      Our world is chunked up into a lot of separate pieces because otherwise your memory would

      It's just too much memory.

      For fun, I can show you how much it can be in memory.

      Let's go to the middle of the world.

      Here we go.

      This is

    2. Jace

      the memory

    3. Ben

      footprint.

      Let's go to the right view.

      Unreal is dying on it.

      So this is all the memory that is on tile X3, Y3.

      That, I think, is the Titan Forest.

    4. Jace

      Okay, so it says at least 1.5 gig.

      Yes.

    5. Ben

      On

    6. Jace

      one

    7. Ben

      tile.

      Yeah.

      So when you stream it in, it checks what already exists in the world and skips that.

      And then it loads in the data that's

    8. Jace

      still

    9. Ben

      needed.

      That's pretty cool.

      One thing to note here is we have 101 megabytes in the world itself.

      And that means all the foliage that's painted and

    10. Jace

      objects that are

    11. Ben

      placed.

    12. Jace

      That's the big boy right there.

      If we can cut that down a little.

      And so how many tiles do we have?

    13. Ben

      30... Somewhere 36, I think.

      32, 36.

    14. Jace

      And of course, they're not all 1.5 gig at least, but still, if you had them all loaded in.

      And that would just be the maps only, not anything else to do with the game.

      Yes, just the world.

      Yeah.

    15. Ben

      So this is the tile that I talked about.

      So as you can see, it's just a chunk of the world.

      This shouldn't be there.

    16. Jace

      See, that's how you fix things.

      Just delete it.

      That shouldn't be there.

      Bye.

      I didn't delete it.

    17. Ben

      I hid it.

      But yeah, so here you can see it's a chunk of the world that will be loaded in when you get near.

      Yep.

      And one thing we're going to do to optimize it for the players, so it's going to be less

      less terrible for them.

      We can split it up.

      So we're going to have, instead of one tile, we're going to have four tiles for those.

      That

    18. Jace

      way

    19. Ben

      the computer needs to only stream in a quarter of the data.

      So it's going to be

    20. Jace

      much, much faster.

      So how does that work then?

      Are we just going to quadruple the number of tiles we have?

      Or is it going to be...

      Okay, so we're just going to add more tiles.

      That's it.

      There's nothing particularly fancy.

      It's just manual labor.

      To an extent.