• thantik@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    6 months ago

    You do something called raycasting to determine visibility beforehand, and don’t render anything not visible.

    • misterdoctor@lemmy.world
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      6 months ago

      lol raycasting isn’t optimized for server side deployment, it would increase the poly count of the mesh tenfold, which would in turn increase average ping and fps. Couple that with the client side rendering problem and I don’t know anything about development just kidding

    • huginn@feddit.it
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      6 months ago

      Your suggesting the server maintain a real time render for every single player and somehow manage to get the data back to them in less than 17ms so that they don’t have empty frames that suddenly become people?

      Because that’s a ludicrous requirement in terms of latency (ping is totally reasonable at any value under 100ms) and server capacity.

      Because your solution sounds like it would cause popping constantly and be a major burden on the server, which is already the largest overhead on a released game.