Graphics Update: Making things go faster by doing less

Discussion in 'Planetary Annihilation General Discussion' started by varrak, September 17, 2014.

  1. mjshorty

    mjshorty Well-Known Member

    Messages:
    871
    Likes Received:
    470
    i must say varrak (and probably echoing the entire community)....

    MOOOAAAR POSTS! :p
  2. Remy561

    Remy561 Post Master General

    Messages:
    1,016
    Likes Received:
    641
    Indeed!!

    Really great job making stuff do less than it did before :p
  3. bengeocth

    bengeocth Post Master General

    Messages:
    1,285
    Likes Received:
    657
    amen. I find that the more projects I have that use more scripts and less code coincide with how many work.
  4. varrak

    varrak Official PA

    Messages:
    169
    Likes Received:
    1,237
    Soon.
  5. varrak

    varrak Official PA

    Messages:
    169
    Likes Received:
    1,237
    To clarify - that's "soon" as in "when I have time, and other higher-priority stuff's been done." So not *that* soon.
  6. mayhemster

    mayhemster Well-Known Member

    Messages:
    394
    Likes Received:
    425
    I want @sorian to create a long post explaining how he made an AI that is fairly competent.
    zihuatanejo, Quitch, Remy561 and 2 others like this.
  7. mjshorty

    mjshorty Well-Known Member

    Messages:
    871
    Likes Received:
    470
    *Someday* is the word your looking for
  8. stormingkiwi

    stormingkiwi Post Master General

    Messages:
    3,266
    Likes Received:
    1,355
    What I like about LOD, is when you go "off the map" in older games, and it becomes clear that you're walking through a forest of cardboard cut-out trees.
    Remy561, websterx01 and varrak like this.
  9. mabn

    mabn Member

    Messages:
    45
    Likes Received:
    41
    It tuns out that the cheapest and pretty accurate shape approximator is a set of spheres. But in my case it was in high dimensional (>1000) space, so YMMV.
  10. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    I want to make a blog post at some point. Just need to find the time.
  11. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    On that theme - I noticed that when I area build a gas planet, all the build outlines show when the planet passes in the background (I don't have this option set - I don't see them when it's the focus planet) That's an awful lot of unnecessary geometry in the background.
    Remy561, cptconundrum and varrak like this.
  12. varrak

    varrak Official PA

    Messages:
    169
    Likes Received:
    1,237
    Good catch. We should take a look at that...
    Remy561 likes this.
  13. portable

    portable Active Member

    Messages:
    113
    Likes Received:
    50
    Speaking of gas planets, one more thing for the backlog @varrak: There's a pretty steep FPS dropoff when a gas planet packed full of jigs comes into view behind the focus planet. Even though the "straws" aren't occluded by the jig's icon, I, for one, wouldn't mind if you didn't render the jigs.
  14. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Icons don't show for any units that are on a planet in the background, so this can happen even for land structures.
  15. RMJ

    RMJ Active Member

    Messages:
    587
    Likes Received:
    234
    I wont pretend to understand most of it, But i like the whole GO FASTER!. stuff going faster is good :D

    Queue Jeff Goldblum, just pretend the T-rex is a commander.

    The game is definitely most fun when it runs really fast and smooth.
    cptconundrum likes this.
  16. varrak

    varrak Official PA

    Messages:
    169
    Likes Received:
    1,237
    Is it the jigs, or the planet? How many jigs? What are your pc specs?
    squishypon3 likes this.
  17. zgrssd

    zgrssd Active Member

    Messages:
    658
    Likes Received:
    185
    So "not so soon"?

    You need to find something more nuanced then "soon".
    "Soon" (we are working on it or really want to finish it fast if possible - if possible at all)
    "Not so soon" (it is on low priority or turned out harder to finish)
    "Not anytime soon" (longterm goal or inherently slow process)
    bradaz85 likes this.
  18. Daddie

    Daddie Member

    Messages:
    275
    Likes Received:
    21
    For the fun of it I am programming my own 3D game using C# and Monogame. When I started to render lots of 3D objects my GPU grinded to a halt (R9 290!!). After contemplating on the issue I rewrote the render part so 3D objects outside the screen area weren't drawn. I was expecting that the GPU was smart enough to figure out what to render and what not, but it seems the GPU isn't smart.. Using C#, abstract classes and Linq I implemented the solution rather fast with great results.. How much work is it in C++ to do the same?
  19. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    wow see, I didn't even know this. I might have told someone else the contrary if I hadn't seen this.

    Thanks for the answer and good speed on fixing this. I know you're the guy capable of doing it!
    considering some play with icons always on (I know, it would drive me nuts too) , Zaphod, for example did it back in the day where he POVed FA, some other PA casters currently do it, it's perfectly reasonable and indeed it could be a very interesting option.

    especially for a web-based replay-only version of PA (I'd talked about this in another tread).
    LOL.

    We shall name the : "UBER's offichial chart of SOONs"™
    Last edited: September 18, 2014
  20. zgrssd

    zgrssd Active Member

    Messages:
    658
    Likes Received:
    185
    Ever piece of hardware or software is only as smart as the least skileld programmer who worked on it :)
    Deciding what to draw and hen to draw it is what Graphics engines are all about.
    Some engines are more effective for some scenarios. I.e. you would be hard pressed to use a RTS Engine to make a FPS.

Share This Page