‹ BackHN Continuity

Thread

City building games have a Soul Problem pt.2

165 points · 155 comments · lexx

  1. db48x · · focus · HN ↗
    He is partly correct, but forgets about the polygon budget. The GPU is fast but not infinitely so. It has lots of texture memory, but not an infinite amount. Game developers have to balance graphical fidelity against the rendering time. They actually did a really bad job of this for Cities: Skylines 2 and it was a big reason why the game was so sluggish on release. Search for the story of the teeth for a particularly salient example.

    Also that grand staircase should be something the player chooses to place, rather than something you get every time a path is sloped.

    1. arnavpraneet · · focus · HN ↗
      This seems like the logical explanation, it still doesn't run that great even on GeForce Now
    2. arcanemachiner · · focus · HN ↗
      I was not familiar with the teeth thing. Link for the lazy:

      <a href="https:&#x2F;&#x2F;www.ign.com&#x2F;articles&#x2F;cities-skylines-2-dev-addresses-character-teeth-controversy" rel="nofollow">https:&#x2F;&#x2F;www.ign.com&#x2F;articles&#x2F;cities-skylines-2-dev-addresses...

      1. opan · · focus · HN ↗
        Reminds me of Dwarf Fortress. I hear the individual teeth are simulated so they can be lost in a fight and such.
        1. db48x · · focus · HN ↗
          Yes, except the DF doesn’t compute shadows for all the teeth. Or texture map them, or use a shader to make them look wet and shiny.

          Still, if they get knocked out during a fight then your dwarves have to carry them individually to the gravesite afterwards, so it’s not like you should automatically imitate DF when you write your own game.

          1. card_zero · · focus · HN ↗
            Will the dwarf&#x27;s friends and family get upset if any tooth is left unburied? In an evil biome, will a forgotten tooth resurrect and cause trouble?
            1. db48x · · focus · HN ↗
              Teeth cannot rot and therefore won’t cause a negative thought if left unburied. Teeth also cannot GRASP, and therefore cannot be raised by a necromancer as an undead. A skull can be though, with or without the teeth.
              1. ethbr1 · · focus · HN ↗
                ^ and this is why interesting composition of systems is so critical in generating games, &lt;3 df
    3. zamadatix · · focus · HN ↗
      When the player zooms in to street level on a building it&#x27;s worth the performance hit to load in more details and do so in a better looking way. When it&#x27;s zoomed out to view large portions of the city (or the whole thing) then sure, you have to trade off graphical fidelity for performance and usability as the user builds out the city and wants to watch it grow. The amount at a given zoom should be based on the graphics settings, and low should allow for low detail even when zoomed in.
      1. db48x · · focus · HN ↗
        LOD (level of detail) techniques are used by practically every game ever written. It doesn’t mean that the developers can ignore the poly budget.
        1. lukebitts · · focus · HN ↗
          You are correct but what the article is asking for is nothing out of the ordinary, in fact mods already do what the author is asking for, just not in an automatic way
          1. GenerocUsername · · focus · HN ↗
            And how are those mods on baseline performance? Are the mods appropriate for general audience mid range rigs? The tech industry has the capability of pure ray tracing. Game engines don&#x27;t use it because the audience willing to shell 10k for PC to run it is exceedingly small. They have to target mid range specs to have an audience big enough to make money.

            The solution is mods by modders for modders.

            1. lukebitts · · focus · HN ↗
              Do you usually interpret “nothing out of the ordinary” as “super computers only” or is that just for me?
      2. Animats · · focus · HN ↗
        It&#x27;s quite possible to do all that. Most AAA titles do by now. But creating all that detailed content at multiple levels of detail is a big job. GTA VI cost between $1.5 billion and $2 billion to produce. When you do those big zooms, vast amounts of data has to be shuttled in and out of the GPU. VRAM is too expensive to keep it all live.

        There are some other current problems. GPU prices have not come down. If you want a big, high-detailed world, you need a few hundred dollars of GPU. GPUs on laptops tend to be underpowered, and if you make the GPU work to its full capacity, it runs down the battery.

        One of my interests is technology for large metaverses with high detail and good performance. Everybody who made metaverse noise during the boom failed at that. Second Life, which is a large metaverse with good detail but slow performance, is about as good as it gets. (It&#x27;s been improving recently; they&#x27;ve hired some good graphics developers.) Improbable&#x27;s Morpheus&#x2F;M-Squared [1] looked promising, but the site hasn&#x27;t been updated in a year and the Discord community seems to have died. They usually run with &quot;cloud rendering&quot; (each user ties up a dedicated gamer PC in a data center), which is too expensive except for special events. Roblox is probably the only other serious US player working on this. Unreal Engine 5 can do big, static worlds that have lots of instancing, but that&#x27;s achieved using large amounts of preprocessing, optimization, and performance debugging.

        The underlying problem is that good simulated cities are about as interesting as real cities. Kind of boring. Second Life has a terrible problem with new users. At the start, you&#x27;re in a big world the size of Los Angeles with about 40,000 people spread around. You don&#x27;t know anybody. You have no idea what to do first. There is no obvious goal. There is no built in game. The system itself is completely indifferent to you, like real cities. You can explore the huge user-built world freely, but only when some users organize an activity does much happen. There&#x27;s a lot going on, but it&#x27;s hard to find. Those seeking passive entertainment give up quickly.

        [1] <a href="https:&#x2F;&#x2F;docs.msquared.io&#x2F;morpheus-platform" rel="nofollow">https:&#x2F;&#x2F;docs.msquared.io&#x2F;morpheus-platform

      3. mitxela · · focus · HN ↗
        Culling details smaller than a pixel isn&#x27;t even sacrificing quality. It&#x27;s literally just what rendering is. That&#x27;s why you don&#x27;t render a sheet of 10^23 individual atoms.
    4. Stevvo · · focus · HN ↗
      Much of what is suggested could decrease texture memory usage. If you add a masked dirt material on top of a surface, you can often decrease the resolution of the texture of the base material underneath thanks to the added detail.
    5. alienbaby · · focus · HN ↗
      As well as the teeth, I understand they had issues along the lines of using preview rendering tech in unity that then was not further developed and dropped from the engine? Causing them to need to write a fair amount of render stuff themselves? .. something similar to that at least I&#x27;m sure.
      1. db48x · · focus · HN ↗
        There were, and still are, other problems as well. The teeth were just the most obvious example.
    6. Asooka · · focus · HN ↗
      I would say the game should generate some kind of a grand staircase every time a slope is the right shape, but let the player replace it if they wish. Would be even better if the element was chosen based on zoning policies, local ordinances, land value, etc. Soul by default, but infinitely customisable.
    7. tancop · · focus · HN ↗
      Most of the changes replace one model with an equally detailed one, or add a bunch of decals that are cheap in modern engines with clustered rendering.

      Adding props is a bit more expensive, but they can be very low detail and still look good from a distance. Something small like a newspaper or plastic bag can be less than 30 polygons with a 64x texture.

      Nobody&#x27;s asking for ray tracing and complicated shaders. Just small tweaks that make a city look more natural.

      1. breakingcups · · focus · HN ↗
        That&#x27;s just demonstrably not true, the foliage alone adds a lot of polygons, so do the stairs.
        1. maximilianthe1 · · focus · HN ↗
          Can you render low fidelity stairs as ramp with normals&#x2F;shadows baked in?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.