Jump to content
MorganLiu

[Pixel Art] Gaps Between Squares/Pixels Removal

Recommended Posts

Hi,

I was trying to create pixel art objects then having problem removing gaps between squares.

The thing is, after creating the squares and managed to arrange them (with snapping enabled), I found there are very thin lines between every square.

And when zooming, they still exist.

Which is, very disturbing.

BTW, Every block is in whole pixels.

 

Any idea how to fix this?

 

Thanks!

屏幕快照 2019-01-11 09.48.27.png

屏幕快照 2019-01-11 09.48.31.png

Tree.afdesign

Edited by MorganLiu

Share this post


Link to post
Share on other sites

Use Blend Options in the Layers Panel (small cog icon top right) and more specifically the Coverage Map - see image below.

Screen-Shot-2019-01-11-at-08-21-11.png

Select all the layers and create the profile seen in the screenshot, actually you can take it right up into the top left corner, I did it that way so you could see the profile lines better.

1014753710_ScreenShot2019-01-11at08_25_20.png.980867fa3c9459b4684c160670ffc77b.png


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo, Publisher Beta 1.7.0.140, Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-12, - iPad2 iOS 9.35 B|  Instagram & Flickr - Affinity Designer (ADe) Tutorials - Affinity Photo (APh) Tutorials - Public Domain Images

Share this post


Link to post
Share on other sites
12 hours ago, MorganLiu said:

The thing is, after creating the squares and managed to arrange them (with snapping enabled), I found there are very thin lines between every square.

And when zooming, they still exist.

Which is, very disturbing.

BTW, Every block is in whole pixels.

What you are seeing is the pixel grid, for want of a better term, I doubt you can see them (the lines) when viewing at 'normal' size.


MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 10.12.6

Affinity Designer 1.6.1 | Affinity Photo 1.6.7 | Affinity Publisher beta 1.7.0.192 | Affinity Photo beta 1.7.0.105 | Affinity Designer Beta 1.7.0.3

Share this post


Link to post
Share on other sites

Hi MorganLiu,
Welcome to Affinity Forums :)
If all the squares are aligned will the pixel grid you shouldn't be able to see the gaps at 100% zoom and multiples (200%, 400%,... 6400% etc) nor they will affect the export. You should only see them at arbitrary zoom levels due to the resampling/rendering on screen. They don't affect exported images.

Share this post


Link to post
Share on other sites
9 hours ago, MEB said:

If all the squares are aligned will the pixel grid you shouldn't be able to see the gaps at 100% zoom and multiples (200%, 400%,... 6400% etc) ...

That is what I expected, but this is what a section of the tree.afdesign file from the first post looks like at 400% zoom:
1977530848_treeat400.jpg.9eecb70eec9b5f6b53fea6cecb6abc4b.jpg

View quality is set to "Bilinear (Best Quality)" on my Mac, using the OpenGL Display setting. Using the Metal Display setting, sometimes I get the same gaps & sometimes I don't. Any idea why?

EDIT: One way to trigger this seems to be to use the Navigation panel buttons to (for example) zoom to 700% with the plus button & then zoom back to 400% using the minus button. Using the buttons to zoom up from a lower zoom level to 400%, no gaps are visible.

EDIT 2: Using the zoom buttons like above only sometimes shows gaps, & they may appear at different multiples of 100% at different times.


Affinity Photo 1.6.7 & Affinity Designer 1.6.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.6.11.85 & Affinity Designer 1.6..4.45 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.1.1

Share this post


Link to post
Share on other sites
11 hours ago, Old Bruce said:

What you are seeing is the pixel grid, for want of a better term, I doubt you can see them (the lines) when viewing at 'normal' size.

No, upon hiding the grids they are still there.

Share this post


Link to post
Share on other sites
11 hours ago, MEB said:

Hi MorganLiu,
Welcome to Affinity Forums :)
If all the squares are aligned will the pixel grid you shouldn't be able to see the gaps at 100% zoom and multiples (200%, 400%,... 6400% etc) nor they will affect the export. You should only see them at arbitrary zoom levels due to the resampling/rendering on screen. They don't affect exported images.

Ahh.....

But I used the pt unit....

Any idea how to do from this point?

Share this post


Link to post
Share on other sites
17 hours ago, firstdefence said:

Use Blend Options in the Layers Panel (small cog icon top right) and more specifically the Coverage Map - see image below.

Screen-Shot-2019-01-11-at-08-21-11.png

Select all the layers and create the profile seen in the screenshot, actually you can take it right up into the top left corner, I did it that way so you could see the profile lines better.

 

Thank you so much, problem solved!

Share this post


Link to post
Share on other sites

Hi MorganLiu,
I didn't noticed you have attached the file, thanks. As i said these issues should only be a problem at arbitrary zoom levels. Try set the zoom level to 100%, 400% or 1600% for example - does you still see the lines? Regarding the pt unit, no issues here just change the document size to integer values, in this case to 639 x 906 pt (click the padlock icon to unlock it so you can edit both values without Affinity recalculating the height when you change the width). Currently it's set to 639,8 x 905,4 pt. If you can't see the decimal parts/values go to Affinity Preferences, User Interface section and increase the Pixels value (to 3 for example) in Decimal Places for Unit Types section. After adjusting the document size export the file to PNG (or other format you may prefer) and check it. The files/gaps shouldn't appear in the exported file. There's no need to adjust the Coverage Map for this.

Share this post


Link to post
Share on other sites
4 hours ago, MEB said:

Hi MorganLiu,
I didn't noticed you have attached the file, thanks. As i said these issues should only be a problem at arbitrary zoom levels. Try set the zoom level to 100%, 400% or 1600% for example - does you still see the lines? Regarding the pt unit, no issues here just change the document size to integer values, in this case to 639 x 906 pt (click the padlock icon to unlock it so you can edit both values without Affinity recalculating the height when you change the width). Currently it's set to 639,8 x 905,4 pt. If you can't see the decimal parts/values go to Affinity Preferences, User Interface section and increase the Pixels value (to 3 for example) in Decimal Places for Unit Types section. After adjusting the document size export the file to PNG (or other format you may prefer) and check it. The files/gaps shouldn't appear in the exported file. There's no need to adjust the Coverage Map for this.

 

 

Thanks a lot!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×