VectorStyler
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Antialiasing origin

    Scheduled Pinned Locked Moved Questions and Support
    16 Posts 2 Posters 28 Views 2 Watching
    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.
    • VectorStylerV Offline
      VectorStyler @message
      last edited by

      @message I will try to find a solution for this anti-aliasing issue.

      1 Reply Last reply Reply Quote 1
      • M Offline
        message @VectorStyler
        last edited by

        @VectorStyler I have just checked my Application Support foler in Library, there is no NumericPath directory:
        fa11852e-91c7-4e64-8490-89c5ab313e5f-image.png

        VectorStylerV 1 Reply Last reply Reply Quote 0
        • VectorStylerV Offline
          VectorStyler @message
          last edited by

          @message Are you using the AppStore version?

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            message @VectorStyler
            last edited by

            @VectorStyler Yes, that's where I bought it!

            VectorStylerV 1 Reply Last reply Reply Quote 0
            • M Offline
              message
              last edited by message

              Just to illustrate what I'm trying to achieve and to emphasize I'm not trying to set AA per object through some setting (that'd be crazy anyway), here is an example of objects where I'm controlling how they're rendered by controlling their attributes like position and size and simply exporting them from VectorStyler:
              46b12186-80fe-46a5-8362-e6fd05954cae-image.png

              The upper part of the image contains regular vector art and a regular font, and the lower aprt contains objects that are meant to stay sharp.

              The font with which "03: Context" is written is an ordinary vector font, but as you can see it is rendered perfectly without any AA due to how the font is made and how I applied it, compared to the same font with a funny offset shift down-right:
              https://fonts.google.com/specimen/Press+Start+2P?categoryFilters=Appearance:%2FTheme%2FPixel&preview.text=01: Nouns&specimen.preview.text=01:+Nouns

              And the problem is, I managed to somehow do it in this instance, but now I have to make one other part of the interface and I can't make it work, so i guess I'll have to resort to punching in random numbers again until it works.

              1 Reply Last reply Reply Quote 1
              • VectorStylerV Offline
                VectorStyler @message
                last edited by

                @message The resources folder can be found with help -> Reveal Workspace Folder

                1 Reply Last reply Reply Quote 1
                • M Offline
                  message
                  last edited by

                  I think I figured out what is causing the problems with exporting! I'll investigate further and send the files today evening when I get back in front of my computer, have to go now 💨

                  M 1 Reply Last reply Reply Quote 1
                  • M Offline
                    message @message
                    last edited by

                    Sadly, it turned out my theory was not correct. I have tried so many things but I just can't figure out how to control it other than punching in random numbers. Sometimes I can make it work, but never completely and there are always some small but annoying mistakes peppered throughout the exported document. It's also not very consistent, sometimes I'd tweak one value and it has no effect, and later I'd tweak it again and it would result in something else.

                    I won't be studying this further because there are lots of interconnected things that influence the correct rendering of artwork on pixel level, and every time I tweak one I can't actually see the result on the screen (due to the CPU/GPU rendering issue, already mentioned elsewhere, and the fact that the CPU rendering doesn't use Nearest Neighbor) so I have to export the file, then send that file to a bitmap editor program, zoom in, check whether it doesn't work, close the file, go back to VectorStyler and try and tweak it again… it's all too troublesome.

                    So for now I just won't be attempting making anything precise in VectorStyler and will try to look into it again if the (CPU/GPU) and (CPU can't use Nearest Neighbor) rendering issues get solved.

                    M 1 Reply Last reply Reply Quote 1
                    • M Offline
                      message @message
                      last edited by

                      Here's an example of "not very consistent", all these rectangles have been drawn using the same rules (align to pixel, snap to grid etc) and in the same document and in the same artboard and using the same grid, and yet each one renders differently:
                      two of them render fine without AA
                      one has AA only on one side
                      one has AA on two sides
                      one has AA on all sides
                      b4f23098-52e9-494c-986e-7ea222d978f6-image.png

                      I don't get it. The only conclusion I can draw from this is that something's not working.

                      VectorStylerV 1 Reply Last reply Reply Quote 1
                      • VectorStylerV Offline
                        VectorStyler @message
                        last edited by

                        @message I will treat this as a bug, and will try to find a fix.

                        One solution would be to have an object property that "aligns" the object shape to the pixel grid when rendering.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          message @VectorStyler
                          last edited by

                          @VectorStyler ok I think I figured out at least one source of unwanted AA. Check this and note all the rectangles in the middle row are rendered correctly, while the top and bottom row are blurry (both rectangles on the bottom are made by copying the rightmost rectangle in the middle.):

                          665dcc4d-f0c9-4dca-9434-3ec53de818f8-image.png

                          To reproduce this reliably, all the settings have to be taken care of first (make sure the artboard is on "integer" coordinates, grid is configured correctly, "Align to pixel" in the Transform panel is turned on etc).

                          Here is a file that shows what is happening:
                          VectorStyler 05 example.gif.zip

                          And indeed, here is the end result:
                          04f5d280-1228-482d-a2ca-8ff22bd9285c-image.png

                          Also note that the leftmost bottom blurry rectangles all have the correct pixel size, but incorrect percentages:
                          35313d9e-1f85-41ca-8e39-bbdff0e751ad-image.png
                          (the rectangle started as a 16px × 16px, scaled down, then scaled back to 16px × 16px but the percentages didn't go back to 100% but to 97.1% and 98.2%, even though the rectangle is "officially" 16px × 16 px).

                          There might be more factors contributing to this but this is the one I'm able to reproduce relatively reliably.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post