Larger Planets

Discussion in 'Planetary Annihilation General Discussion' started by Brokenshakles, July 8, 2014.

  1. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    Does anyone know what sort of additional overhead more planet surface area imposes? Is there a metric of planet size to memory footprint? I love PA, but the size of the planets was always the most disappointing aspect of the design so far. Does anyone else here have any interest in jumbo-sized/huge planets?
  2. cdrkf

    cdrkf Post Master General

    Messages:
    5,721
    Likes Received:
    4,793
    Jumbo sized planets can (and have) been created by overriding the maximum radius in the system creator (i.e. type in the value you want).

    The problem you have however is this: The surface area of a sphere has an exponential relationship to it's radius:

    A = 4πr^2

    So if r = 100 (units), A= 125680 (units)

    However if you double the radius to 200:

    A = 502720 (4 x more surface area)

    And R = 400, A = 2010880 (16 x more surface area)

    This is where memory quickly becomes a problem, as doubling the amount of ram doesn't allow for much of an increase in planet size (e.g. if a R1200 planet requires 8gb of ram, going to 16gb of ram wouldn't gain you much more).

    Due to this its much more practical to load lots of small bodies than 1 very large one for a given amount of memory.
    tatsujb likes this.
  3. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    I am aware of the math behind the basic geometry, but it is not really reasonable to expect a linear increase in memory footprint to correlate with a linear increase in surface area. There is also the possibility of distributing the same amount of geometric complexity over a larger effective surface area. Also, how much memory do our current planets take? Also, the need to load more than 2 planets worth of fine detail can be offset by increasing the size of the solar system, and setting the orbits far enough apart to make displaying a stand-in for other planets a reasonable solution.
    cdrkf likes this.
  4. Aliessil

    Aliessil Active Member

    Messages:
    182
    Likes Received:
    162
    @Brokenshakles: I can't tell you how much memory the planets take up but I can tell you this much:

    I created a 6-planet system where they all had sizes of about 1250, then tested it vs the AI. Took me almost 90mins to find the AI in the middle of an ocean on a planet I thought I'd scouted fully. The game had slowed down considerably but was still playable. I had something like 2500 units, something like 100 fabbers and 70-odd factories.

    this is on a 27" iMac with 16gb RAM. Hopefully that'll be helpful in finding your answers.
  5. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    One size 1000+ can use 98% of my 4gb RAM btw.
  6. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    We will get larger planets eventually.

    The game isn't optimized enough for it.

    Yet.
  7. burntcustard

    burntcustard Post Master General

    Messages:
    699
    Likes Received:
    1,312
    Im going to assume you haven't played a game with the max planet size if you really want bigger planets... Those things are massive.
    stuart98 likes this.
  8. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Since he didn't mention what that is, I'll say it.

    1300 radius.
    burntcustard likes this.

Share This Page