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

Flood Fill issues

Community Beginner ,
Apr 03, 2024 Apr 03, 2024

Copy link to clipboard

Copied

Hello peeps my goal is gray scale luminance varience  with the tiled bars, i need the base to stay white and black but im trying to use the flood fill to random gray to create my varience, for some reason flood fill dosent seem to work can canyone explain what the issue might be. also it seems like tile safe rotation in safe transform based on true or false can effect the outcome any idea why that is? thanks again peeps for all your help.

Matthew28741783y5k8_0-1712161186090.png

 

TOPICS
Bugs & Crashes , General , How to

Views

392

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

Adobe Employee , Apr 05, 2024 Apr 05, 2024

Hello Matthew,

 

Indeed, Flood Fill requires a black border at least one pixel wide all around a shape to work properly.

To make this easier, I have attached a simple 'Trim borders' tool I have made to trim the borders of an image with an exact amount of black pixels (1 by default). This avoids scaling down the image and the potentially undesirable filtering that may involve.

It is easy enough to restore the trimmed parts with a Distance node. I hope this helps!

 

Best regards.

Votes

Translate

Translate
Community Beginner ,
Apr 03, 2024 Apr 03, 2024

Copy link to clipboard

Copied

So i seemed to have fired out what is causing this im not sure on the math or coding side of it but if the pattern contrinues past the square border it nullifies the flood fill, by connecting the safe transform node to a blend and shaving the edges off by 0.001 it allows the flood fill to work. weird but interesting.

Matthew28741783y5k8_0-1712166412371.png

 

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
Adobe Employee ,
Apr 05, 2024 Apr 05, 2024

Copy link to clipboard

Copied

LATEST

Hello Matthew,

 

Indeed, Flood Fill requires a black border at least one pixel wide all around a shape to work properly.

To make this easier, I have attached a simple 'Trim borders' tool I have made to trim the borders of an image with an exact amount of black pixels (1 by default). This avoids scaling down the image and the potentially undesirable filtering that may involve.

It is easy enough to restore the trimmed parts with a Distance node. I hope this helps!

 

Best regards.

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe

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