Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    polygon generator

    Map Making
    5
    9
    299
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MarkthePig last edited by

      Whenever I attempt to generate polygons from centers I get a message saying 'could not grab polygon the most common way to solve this issue ....' but this is with 100% of the centers, what am I doing wrong? All help is appreciated 🙂

      redrum C 2 Replies Last reply Reply Quote 0
      • redrum
        redrum Admin @MarkthePig last edited by

        @MarkthePig Can you upload your map zip so we can take a look?

        1 Reply Last reply Reply Quote 0
        • M
          MarkthePig last edited by

          https://drive.google.com/drive/folders/119Ct99MePSruhQJtsKKBOHSp5yfkZ38l?usp=sharing here is a link to the files

          C 1 Reply Last reply Reply Quote 0
          • C
            Cernel Moderators @MarkthePig last edited by

            @MarkthePig The error you are getting should tell you exactly what pixel (X and Y coordinates) is failing. You need to make sure the borders are pure black and every zone within its borders is monochrome.

            1 Reply Last reply Reply Quote 1
            • C
              Cernel Moderators @MarkthePig last edited by

              @MarkthePig said in polygon generator:

              https://drive.google.com/drive/folders/119Ct99MePSruhQJtsKKBOHSp5yfkZ38l?usp=sharing here is a link to the files

              That map is going to fail pretty much everywhere. You could re-read the mapmaking instructions, to know what you are doing wrong. To put it in the simplest terms, just redo or modify that map so to have only pure black and pure white pixels, and save it as png (instead of jpg). Due to the current state of it, I suggest just to redo all the drawing, making sure to use a pure black pencil tool over a pure white layer, since also having fairly constantly thick borders is important when it comes to generate the connections.

              1 Reply Last reply Reply Quote 1
              • Hepps
                Hepps Moderators last edited by Hepps

                @MarkthePig I tried to pack as much help as I could into this example...

                Map help.png

                Hopefully that helps... unfortunately as @Cernel said... looks as though you are going to have to pretty much start over from scratch.

                Good luck with your project.

                R 1 Reply Last reply Reply Quote 5
                • R
                  RogerCooper @Hepps last edited by

                  @Hepps Even with a cleaned-up map, I receive this error frequently, sometimes on straight boundaries. I often resort to entering the coordinate pairs by hand.

                  The code in the polygon grabber should be reviewed. It is one of the oldest parts of TripleA.

                  Here is map I have been working on.Guadacanal.png. Note the orthogonal island in lower center part of the map. I kept on simplifying and straightening and it still didn't work. I just entered the coordinates by hand.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Cernel Moderators @RogerCooper last edited by

                    @RogerCooper As said, it needs to be bi-chrome for each territory, with one of the two colours being pure black for the borders. I've checked, this is not always the case for that image. Here it is a pure white and black version of it; try doing it using this one:
                    guadacanal(Cernel001).png

                    C 1 Reply Last reply Reply Quote 2
                    • C
                      Cernel Moderators @Cernel last edited by

                      @RogerCooper Here you can see in pure red all the pixels that were not pure black or white in your image. If you modified anything with the aim to have the utilities working, I suggest you go back and make purely black-and-white the original image (or post it here) (I use GIMP):
                      guadacanal(Cernel002).png

                      1 Reply Last reply Reply Quote 2
                      • 1 / 1
                      • First post
                        Last post
                      Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums