• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Strange artifacts when I rotate solid color shapes.

Community Beginner ,
Feb 22, 2025 Feb 22, 2025

Copy link to clipboard

Copied

I need the shapes I make to be perfect green and perfect red (Red 255, Green 0, Blue 0,  - As well as Red 0, Green 255, Blue 0.)

So I make a red shape with a green shape surrounding it, Merge the shapes but I need rotate it (to be exact I just rotate as perfect 45 degrees). But when I rotate the shapes I get arttifacts on the edges (as always), and I have to penicil in the full colors, which takes about an hour.

 

Here is what I see when I do it: First solid Shapes:

Non Rotate.pngexpand image

Now after the rotate:

 

Rotate.pngexpand image

Some might know how picky a game engine is. It Needs exact Red and Green.

Like II said I spent and hour penciling in the true Red and Green and it is a pain to do.

Is there a setting that could keep this I suppose automatic antialaizing from doing This.

 

Thank you.

 

TOPICS
Windows

Views

79

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 22, 2025 Feb 22, 2025

You are zoomed way in to the pixel grid, and looking at anti aliasing.

That looks like you are using raster (pixel) layers.  Vector Shape layers still use Anti Aliasing, but it might be less pronunced.

This is a stroked vector shape layer rotated to 45° with a similar zoom ratio (we can see the pixel grid)

image.pngexpand image

This is the same zoom ratio with the Pixel Grid turned off

image.pngexpand image

 

When you rotate a layer using Free Transform, yoy have a choice of Interpolation method

image.pngexpand image

If you use Nearest Neighbor it will not

...

Votes

Translate

Translate
Community Expert ,
Feb 22, 2025 Feb 22, 2025

Copy link to clipboard

Copied

Before rotating change the interpolation method to Nearest Neighbor in the tool options bar.

 

nerneib.pngexpand image

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2025 Feb 22, 2025

Copy link to clipboard

Copied

You are zoomed way in to the pixel grid, and looking at anti aliasing.

That looks like you are using raster (pixel) layers.  Vector Shape layers still use Anti Aliasing, but it might be less pronunced.

This is a stroked vector shape layer rotated to 45° with a similar zoom ratio (we can see the pixel grid)

image.pngexpand image

This is the same zoom ratio with the Pixel Grid turned off

image.pngexpand image

 

When you rotate a layer using Free Transform, yoy have a choice of Interpolation method

image.pngexpand image

If you use Nearest Neighbor it will not use anti aliasing to smooth the diagonal.  

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2025 Feb 22, 2025

Copy link to clipboard

Copied

There are also other possibilities, such as drawing shapes on the fly using Pencil tool, for instance, with sharp edges.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 22, 2025 Feb 22, 2025

Copy link to clipboard

Copied

Thanks guys. I never considered the Interpolation method set to Nearest Neighbor would help. 

 

The Red and Green shape is meant to be a road in a game map. It needs to be about 12 pixels wide and red and green. The original image under the road I am working on is 13312 x 13312 pixels and I need to zoom in a lot to adjust the individual pixels via a 1 - 5 pixel pencil tool to add the road. The image in the background is a layer that is somewhat transperant to see where I want to add the roads on the map, Inbetween citiy and mountain areas and all.

 

I know how to turn of the pixel grid, but I don't think thats nessesary.

 

Thank you guys. This will save me a lot of time.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 23, 2025 Feb 23, 2025

Copy link to clipboard

Copied

LATEST

Yep, using nearest neighbor when rotating dit what I wanted to do.

 

Thanks again for your replies guys,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines