Jump to content

Recommended Posts

Posted

For some reason adding alpha to the Procedural Texture creates these weird edge lines arround ( unsure as to if this is a bug or not )

The Texture used below in the Procedural Texture is a Checkerd Dafult with Alpha channel enabled, this happens with other Textures as well

image.thumb.png.360fdefe2d1efcc5324db93e2b204d8d.png

 

image.png.cf4244f6ac1aae0eff796a3bf9939697.png

 

This is with the Group containing the Procedural Texture being on top of everything, and the image hiden ( This happens regardles of the zoom ammount )

image.thumb.png.8b86be8dddf078a2c1f62a41701fc0a8.png

 

 

 

 

The File:Procedural_Texture_weird_behaviour.afphoto

Posted

Those are anti-aliasing effects at the edges between objects and background. 
At the edges of layers, the colors of pixels get mixed between lower layers and current layers. This often leads to unwanted mix colors. 

In CMYK, this effects is worse that in RGB.
 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

It will be easier to understand for you if you use. Simpler test file, e.g. only one circle, one fill layer.

it is not specifically related to the PT filter. 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

In this particular case you can set the Source Layer Ranges in the Blend Options as can be seen in my attached image.
I don’t know if this would ‘break’ something else though because I don’t really understand how this works.

image.thumb.png.2c08a9ec5dc58befaf1bc15583f26e90.png

Posted

Another comment: if you include a formula for alpha channel in PT filter, in most cases you will not use the same formula as for RGB channels.

In your example the checkered board gets transparent where color white would be, and this leads to many edge areas amplifying the issue.

for me it seems  you may be trying far to much in one step (mastering CMYK, PT filters, alpha channel, …). I would recommend to spend some hours reading a good book (or Wikipedia) or viewing video tutorials about these topics, and try one step after the other before combining all in complex objects.

Make yourself familiar with channels panel, and start with RGB files, and 2-3 layers maximum. 

 

  • RGB to HSL conversion formula
  • layer blending and blend modes (without alpha)
  • alpha blending
  • additive vs subtractive color models
  • PT filter on RGB (use fully opaque layers only)
  • PT filters on alpha channel specifically
  • combinations of above topics

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted
1 hour ago, NotMyFault said:

Those are anti-aliasing effects at the edges between objects and background. 
At the edges of layers, the colors of pixels get mixed between lower layers and current layers. This often leads to unwanted mix colors. 

In CMYK, this effects is worse that in RGB.
 

Most likely.

 

I found a way to have it without the antialiasing, made the group with the Procedural Texture erase the image instead, and masked the Procedural Texture using the shapes, i did keep the Alpha channel selected in the same unchanged  Procedural Texture though.

image.thumb.png.35d9f73523a55b78d9830cb5f5ab4216.png

 

The main goal is to use a Procedural Texture as a Mask to achive this:

image.thumb.png.8a3f3b3ddf511ad0211e9bd4e97e7114.png

Posted

Then you simply need to nest the PT filter as child to the pixel layer, and use the formula only on alpha channel. No groups required (groups can complicate things dramatically when dealing with alpha channel).

Important:

  • the PT filter is restricted to the parent layer only in child position.
  • If you move PT filter to "masking" position, alpha channel affects the complete canvas and "escapes" the clipping area of the parent.

Screenshot 2023-05-27 at 14.55.45.png

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted
2 hours ago, NotMyFault said:

Then you simply need to nest the PT filter as child to the pixel layer, and use the formula only on alpha channel. No groups required (groups can complicate things dramatically when dealing with alpha channel).

Important:

  • the PT filter is restricted to the parent layer only in child position.
  • If you move PT filter to "masking" position, alpha channel affects the complete canvas and "escapes" the clipping area of the parent.

Screenshot 2023-05-27 at 14.55.45.png

Yes, but then this kind of stuff happens ^

 

The left side looks fine, but then if we look at the bottom the grid doesn't add up

image.png.eeccb29dea5c45790e46be0685cd7e96.png

 

 

Posted

While the PT filter is active layer in stack, use mouse pointer to move the point of origin (moves the squares generated by PT filter).

The PT filter is unable to sense the size of the parent layer. You need to adjust the formula (e.g. replace w and h by actual width and heigth).

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

come on

I didn't care for pixel alignment in my example.

After aligning size and position of the upper layer to integer values (see transform panel), everything is perfect.

 

 

Screenshot 2023-05-27 at 22.23.26.png

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

@NotMyFault

I understand what you are trying to explain but in the other example, there should be a gap considering that there are already squares showing to the sides which are at least more than 4-5 px in height ( Inside the red rectangle )

image.png.f06c0e8b3d5aa33251744e6fcac31a01.png

Posted
10 hours ago, Ezbaze said:

@NotMyFault

I understand what you are trying to explain but in the other example, there should be a gap considering that there are already squares showing to the sides which are at least more than 4-5 px in height ( Inside the red rectangle )

image.png.f06c0e8b3d5aa33251744e6fcac31a01.png

No, it is 1px. 

For this demo document I have chose XGA 800x600 resolution, and it is zoomed  in to fit my 5K screen, so objects in your zooming app are smaller than they appear in screenshots.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

As mentioned in my previous post, I think the thing that Ezbaze is concerned with is the ‘missing’ transparency section within the red rectangle in their image.

In other words, there should be a shallow transparent rectangle where there is none; the bottom of the bushes should be ‘cut off’ but it’s not.

Posted
12 minutes ago, GarryP said:

As mentioned in my previous post, I think the thing that Ezbaze is concerned with is the ‘missing’ transparency section within the red rectangle in their image.

In other words, there should be a shallow transparent rectangle where there is none; the bottom of the bushes should be ‘cut off’ but it’s not.

yes, this seemingly missing part was caused by fractional height of the Paris-layer. Nothing else. I've attached the file so you can check it yourself.

My zoom level was 16x, otherwise you would never spot this.

 

Image 1: fractional size H=238.8

916973047_Screenshot2023-05-28at10_41_28.thumb.png.8715b72c1f9c16f430ff1885bc067308.png

Image 2: integer size H=239.0

895855459_Screenshot2023-05-28at10_41_41.thumb.png.afd00172fb4ef7dfa992d02d46360cca.png

PT on alpha paris.afphoto

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Posted

Ah, right, now I see what you mean, thanks.
I’ve added a video which may help anyone else who is confused.
Watch what happens to the bottom and left of the image when I move it without aligning to pixel boundaries, e.g. non-integer X/Y values.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.