Symmetrical planets are getting there...

Discussion in 'Planetary Annihilation General Discussion' started by jables, October 17, 2014.

  1. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    If you change the order, you can no longer guarantee there's a matching seed. And as Cola said above, it almost certainly won't exist.

    You realise this is actually a description of exactly how it works currently? You have planet definition files, plus a seed = planet ;)
  2. Dementiurge

    Dementiurge Post Master General

    Messages:
    1,094
    Likes Received:
    693
    But then how do you encode the numbers 45 and 67?

    In any case, the "Similar Seeds" thread suggests that the random seed doesn't produce enough equidistant unique results to be even remotely capable of determining the abstract position of a particular object.
  3. plague11

    plague11 Member

    Messages:
    76
    Likes Received:
    8
    Oh thats looks just great also very very petty
  4. void2258

    void2258 Member

    Messages:
    61
    Likes Received:
    27
    I hope you guys also get around to the fabricator selection issue and unit formations and group moving.
  5. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    Still coming along.

    symmetry.jpg
    carn1x, eratosthenes, cdrkf and 16 others like this.
  6. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,356
    It already looks perfect, Sorian.

    Ooh I wanted to ask, is there going to be point symmetry too, or only north/south?
    stuart98 likes this.
  7. jables

    jables Uber Employee

    Messages:
    812
    Likes Received:
    5,537
  8. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,356
    I don't mind. :>
    stuart98 and Remy561 like this.
  9. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    For now, north south only. For the future, who knows.
    stuart98, lafncow, Remy561 and 2 others like this.
  10. Clopse

    Clopse Post Master General

    Messages:
    2,535
    Likes Received:
    2,865
    Looks great man, thanks. :D
  11. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Point symmetry please. Mirroring the planet is one way to do it, but is has distinct disadvantages. You will see as soon as you try with planets with larger natural obstacles, like water surfaces.

    Or like in your screenshot: That mirrored chasm which suddenly spans half the planet...

    Your feature placement algorithm (especially the constraints regarding spacing) still work with point symmetry (since features can't collide with themselves!), but it doesn't with mirroring.
    stuart98 likes this.
  12. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Since you only need half as much planet geometry for this, will @varrak be able to cut memory usage in half for mirrored planets?
  13. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    That crack is not mirrored. Any CSG that spans over the line of symmetry does not currently get mirrored.
  14. varrak

    varrak Official PA

    Messages:
    169
    Likes Received:
    1,237
    Unfortunately not - the current engine architecture doesn't support that, due to the way the CSG meshes are blended with the terrain. Maybe one day we'll revamp how that works. However, there's other stuff I can still do to cut memory usage (if I ever get time... :)).
    Remy561 and cwarner7264 like this.
  15. MrTBSC

    MrTBSC Post Master General

    Messages:
    4,857
    Likes Received:
    1,823
    nice!

    again one step at a time ...
    Last edited: October 23, 2014
    ooshr32 likes this.
  16. Tontow

    Tontow Active Member

    Messages:
    459
    Likes Received:
    64
    There will be a matching seed, because:
  17. tatsujb

    tatsujb Post Master General

    Messages:
    12,895
    Likes Received:
    5,384
    nice.
    lucky that it was well aligned then.
  18. tatsujb

    tatsujb Post Master General

    Messages:
    12,895
    Likes Received:
    5,384
    one day? :p the new soon?
  19. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    The planet definition files + seed will output features in a specific order. Essentially, every different ordering of features is an entirely different planet that would need a different seed to match, even though it looks identical.

    Edit: assuming you are working it out by reverse engineering the random generated sequence. You could match it via the actual output terrain, but then you are talking about generating every single possible planet to compare, and given the time it takes to generate just one, that's not at all feasible.
  20. stevenrs11

    stevenrs11 Active Member

    Messages:
    240
    Likes Received:
    218
    This makes me so, so happy. Not knowing how this is being done, I wonder if different levels of symmetry are possible, like 4 or 8 sections of the planet?

Share This Page