Gatada Posted March 15, 2024 Posted March 15, 2024 In Affinity Designer 2 I cannot figure out how to create the effect similar to the hill (center image). What I want is basically add a brush outline to a shape A, then add a brush to a shape B—and then have shape B clipped by both outline and all of the shape A, so that I is left with an added highlight to shape A. Any suggestions how this can be done without using an extremely time consuming workaround (like I did with the hill)? Thanks! Quote
NotMyFault Posted March 15, 2024 Posted March 15, 2024 Strokes are always separate from fill, and painted before or after the fill. Stroke doesn’t count for masking or clipping of vector objects. you can expand the stroke to get the desired behavior (but only for basic round brush). If you don’t mind going pixel layers you can rasterize the layers and use them as parents / masks. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
thomaso Posted March 16, 2024 Posted March 16, 2024 Without 'Rasterize' or 'Expand Stroke': A Compound (intersect) + 1 layer copy may work, depending on the similarity of the two brush stroke textures. NotMyFault 1 Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
Gatada Posted March 16, 2024 Author Posted March 16, 2024 15 hours ago, NotMyFault said: Strokes are always separate from fill, and painted before or after the fill. Stroke doesn’t count for masking or clipping of vector objects. you can expand the stroke to get the desired behavior (but only for basic round brush). If you don’t mind going pixel layers you can rasterize the layers and use them as parents / masks. Well, color overlay works and includes the outline brush. This is basically what I need, right? But the overlay has to be a shape with a brushed outline.. The idea of using Designer is to keep it as vectore and non-destructive. Quote
Gatada Posted March 16, 2024 Author Posted March 16, 2024 10 minutes ago, thomaso said: Without 'Rasterize' or 'Expand Stroke': A Compound (intersect) + 1 layer copy may work, depending on the similarity of the two brush stroke textures. Yeah, but as you also demonstrates: this fails when the brushes are dramatically different. Quote
thomaso Posted March 16, 2024 Posted March 16, 2024 23 minutes ago, Gatada said: fails when the brushes are dramatically different Currently I see only the compromise to separate fill and stroke for the clipped object, for instance: This starts to get more complex than just using a rasterized a layer copy for the clipping object. As @NotMyFault mentioned in Affinity the stroke attribute doesn't allow the required clipping mask but stays in foreground unfortunately. Thus we are forced to workarounds + compromises for this actually very normal, natural task. If brush textures would be true vector and/or allow to get curved accordingly it could be solved easily by "Expand Stroke" and merge fill + stroke to one common curve layer without a separate stroke attribute. Does one know for what purpose (advantage?) the Affinity handling of this stroke vs. fill hierarchy in clipping objects has been coded this way? Gatada 1 Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
NotMyFault Posted March 16, 2024 Posted March 16, 2024 a simple solution: layer a -> the one which was nested layer b -> the one who was parent. arrange layer a on top of layer b (no nesting!) make a symbol of the layer a copy it nest copy it into masking position of layer b Now the fill and stroke akt as mask. You better lock the symbol, as position of both copies must always stay in sync. 2 hours ago, Gatada said: The idea of using Designer is to keep it as vectore and non-destructive. Please note that exports of vector files with vector brushes (except basic round brush) will always be rasterized as export. So your workflow does not allow to export as vector format anyways. Using layers in masking position can lead to rasterization, too. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted March 16, 2024 Posted March 16, 2024 Alternative: seperate shape form from shape fill use a group for inner object and huge rectangle for fill area of outer shape use shape as mask for group this simplifies layer re-prositioning. vctor clipping with stroke.afdesign Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
thomaso Posted March 16, 2024 Posted March 16, 2024 1 hour ago, NotMyFault said: arrange layer a on top of layer b (no nesting!) make a symbol of the layer a copy it nest copy it into masking position of layer b Now the fill and stroke akt as mask. Can you show a screenshot? For what use needs the Symbol be copied? I don't get your result for the parent stroke (regardless of "masking" vs. "clipping" position). Gatada 1 Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
Gatada Posted March 16, 2024 Author Posted March 16, 2024 3 hours ago, NotMyFault said: a simple solution: layer a -> the one which was nested layer b -> the one who was parent. arrange layer a on top of layer b (no nesting!) make a symbol of the layer a copy it nest copy it into masking position of layer b Now the fill and stroke akt as mask. You better lock the symbol, as position of both copies must always stay in sync. Please note that exports of vector files with vector brushes (except basic round brush) will always be rasterized as export. So your workflow does not allow to export as vector format anyways. Using layers in masking position can lead to rasterization, too. When artwork is finished, and is exported, the format is not significant—as long as resolution is respected. I’ll try the above though it sounds .. quite .. tedious. I would expect Designer to have a toggle to include or exclude outline when masking. It’s quite obvious that some feature like this is needed, as all sample files have hard shapes and masks—no fuzzy brushes anywher (unless when manually brushed). Gripsholm Lion 1 Quote
thomaso Posted March 16, 2024 Posted March 16, 2024 20 minutes ago, Gatada said: When artwork is finished, and is exported, the format is not significant—as long as resolution is respected. In this case, rasterizing the parent object is the fastest + easiest. Just make sure the Document Resolution is set as required before rasterizing. Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
Gatada Posted March 16, 2024 Author Posted March 16, 2024 Hey all, so grateful for answers, suggestions and contributions! Thank you! Now that I see it wasn't simply something obvious that I had overlooked, I've been motivated to try to find other ways. So, there is this approach, still tedious and far from as simple as a "include outline in masking operation" toggle: Create shape with desired brush, named it Hill. Duplicate shape and make fill and outline 100% black, named it Mask. Select the Hill shape and create Highlight shape with desired brush, it is between Mask and Hill. Right-click Mask in Layers tab and click "Mask to Below". Voila! The result is vectors and masked with outline. Hm, oh, is this what @NotMyFault mentioned? 1. If the Hill is made into a symbol.. And duplicated... and with sync disabled, changed to all black (this is the Mask) Then changing the Hill shape will also affect the Mask. Nice! Now I can change.. But of course... I cannot modify multiple Hills individually.. So still a pain... virtually unsustainable. thomaso 1 Quote
NotMyFault Posted March 16, 2024 Posted March 16, 2024 2 hours ago, thomaso said: Can you show a screenshot? For what use needs the Symbol be copied? I don't get your result for the parent stroke (regardless of "masking" vs. "clipping" position). layer A should stay above layer B, then it will work. I made it a symbol so any change to the shape will be visible in the copy used for masking. thomaso 1 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted March 16, 2024 Posted March 16, 2024 13 minutes ago, Gatada said: Duplicate shape and make fill and outline 100% black, named it Mask. no need to change the color. The color is irrelevant when used for maskin. Only the opacity (alpha value) is used. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
thomaso Posted March 16, 2024 Posted March 16, 2024 40 minutes ago, Gatada said: Hm, oh, is this what @NotMyFault mentioned? 13 minutes ago, NotMyFault said: layer A should stay above layer B, then it will work. Yes, indeed simple! It appears in the written recipe 'a' and 'b' are confused (not just opposite to my use of 'A' + 'B'): 4 hours ago, NotMyFault said: layer a -> the one which was nested layer b -> the one who was parent. arrange layer a on top of layer b (no nesting!) (…) nest copy it into masking position of layer b … or I was confused by the use of "parent". To me the larger is the visual parent but the hierarchical child – while the smaller is the hierarchical parent + visually nested. Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
Alfred Posted March 16, 2024 Posted March 16, 2024 3 minutes ago, thomaso said: To me the larger is the visual parent but the hierarchical child Many children grow to be bigger than their parents! The terms ‘parent’ and ‘child’ are purely hierarchical here, with the parent layer being the container and the child layer being the layer which is clip-nested or mask-nested. Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
thomaso Posted March 16, 2024 Posted March 16, 2024 54 minutes ago, Gatada said: Nice! Now I can change.. But of course... I cannot modify multiple Hills individually.. So still a pain... virtually unsustainable. You can but in several steps: Edit the coloured hill layers then copy + move them as mask + delete the previous masking hills. Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
NotMyFault Posted March 16, 2024 Posted March 16, 2024 1 hour ago, Alfred said: Many children grow to be bigger than their parents! can confirm. Me - 192cm, <75kg My son - 200cm, >90kg pure muscle due to training Alfred 1 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Gatada Posted March 17, 2024 Author Posted March 17, 2024 14 hours ago, NotMyFault said: no need to change the color. The color is irrelevant when used for maskin. Only the opacity (alpha value) is used. Granted, I didn’t try more than once-but the masked layer where not fully opaque when I didn’t use black..? I’ll try again. Quote
Gatada Posted March 17, 2024 Author Posted March 17, 2024 14 hours ago, thomaso said: You can but in several steps: Edit the coloured hill layers then copy + move them as mask + delete the previous masking hills. Even when going the symbols route? You mean by making each hill/mask pair a new symbol? I’ll try this when at the desk. Quote
thomaso Posted March 17, 2024 Posted March 17, 2024 On 3/17/2024 at 10:49 AM, Gatada said: Even when going the symbols route? You mean by making each hill/mask pair a new symbol? With symbols it may be even easier: The hill-mask gets auto-updated if you modify a hill. (but its layer thumbnail might delay in being updated) hill-symbol-mask.m4v Gatada 1 Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
Gatada Posted March 17, 2024 Author Posted March 17, 2024 7 hours ago, Gatada said: Granted, I didn’t try more than once-but the masked layer where not fully opaque when I didn’t use black..? I’ll try again. Yep, color not relevant. I must have tapped a number by mistake.. Quote
Recommended Posts
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.