Jump to content
sumneuron

Texture Clipping Mask with single object across many layers?

Recommended Posts

I am working on a project.

This project is using a stock texture for gold leaf and has many curves (some of which are grouped and some of these groups are in different layers).

At the moment I copy-paste the texture image and drag and drop it as a child of each curve (and position it accordingly) for every curve that should have this texture.

Is there a way to make this texture the full size of the document, and then tell certain layers / groups / curves to use it as a child?

Share this post


Link to post
Share on other sites

U1. Select the objects to which you wish to apply the texture2336DA32-0961-4A77-8140-CBB6A408ADF0.thumb.jpeg.4bdfb4f5dcb9bc460a5c952c76173e09.jpeg

2. Edit (‘...’) > AddD6140C8B-A571-4E36-BC0B-9F88FE7830EB.thumb.jpeg.70b38d396db91938c98ca0f98fbb9ec5.jpeg

3. Drag the new ‘Curves’ layer in the Layers panel and drop it onto the thumbnail of the texture layerB5B87AF1-3FEF-40D8-B4A3-93F02750ABA6.thumb.jpeg.321a829ad073858ca9ad2074631c3bf9.jpeg

Result: The texture will be cropped to (i.e. masked by) the shapes in the ‘Curves’ layer942803B4-E8AA-4FB8-91B0-453AF85C35B1.thumb.jpeg.10fe0e568a7d15f96e3e08420cf309a0.jpeg


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.3.155 • Designer for iPad 1.7.3.1 • iPadOS 13.2.2 (iPad Air 2)

Share this post


Link to post
Share on other sites

@Alfred I think you misunderstand. I have gotten that far as stated in the OP. Now image you have several curves in different groups and in different layers that all want to have that texture without copy pasting the texture accordingly.

Share this post


Link to post
Share on other sites
1 minute ago, sumneuron said:

@Alfred I think you misunderstand. I have gotten that far as stated in the OP. Now image you have several curves in different groups and in different layers that all want to have that texture without copy pasting the texture accordingly.

If I did misunderstand, I’m afraid I still do! I have five shapes in my example: instead of using each one to mask its own copy of the texture, I Boolean added them so that I could mask the texture with all five shapes in one fell swoop.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.3.155 • Designer for iPad 1.7.3.1 • iPadOS 13.2.2 (iPad Air 2)

Share this post


Link to post
Share on other sites

The only way I can think of would be if LayersTabFxIcon_lightui.png.e1b19cdce2bd993c23eb898ae057b970.png had a texture option and were part of a style that could be edited. In the same way a symbol is editable en masse.


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - FeedbackInstagram & Flickr

Share this post


Link to post
Share on other sites

@Alfred see the screen shot it is a minimal example.

 

For structural reasons I have different layers (some nested) / groupings of curves.  Not every curve in the document needs the texture, but many do.

I could copy and paste the texture layer and make it a child of each curve (and the curve would act as a vector clipping mask for the texture). However doing so means that if I want to change the texture, I have to update it everywhere which is tedious.

 

 

 

540216307_ScreenShot2019-05-09at2_36_27PM.thumb.png.865866a5f8a607b5a4aa96dd064e8790.png

Share this post


Link to post
Share on other sites

The only way I can think of would be to use symbols, so make whichever shapes require the texture a symbol. If you have repeating shapes this would alleviate some of the repetition and enable you to edit those shapes en masse.


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - FeedbackInstagram & Flickr

Share this post


Link to post
Share on other sites

Hi @sumneuron A symbol is an object that has a set of features like a colour, shape, texture, fx, style, image that can be changed, it can be a group of objects. You can create a symbol and drag instances of that symbol onto the canvas and whatever you do to one symbol will be reflected in every instance of that symbol.

https://affinity.help/designer/English.lproj/pages/SymbolsAssets/symbols.html

symbol example.afdesign


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - FeedbackInstagram & Flickr

Share this post


Link to post
Share on other sites

@firstdefencethat kind of works... I still have to copy paste the symbol everywhere as a child of all the curves. But then when I move any of the curves the clones of the symbol move with with the curves, which is undesired.

 

And not being able to create a symbol from something that uses a symbol is also kind of backwards in my book.

Share this post


Link to post
Share on other sites

@BobsDaubs

thanks for the reply, but no.

Again, the key to this question is that many different groups, layers, curves all share the same clipping mask. These groups, layers and curves may be siblings in the same layer, children of different parents, etc.

Share this post


Link to post
Share on other sites

@sumneuron (et al)

Select all the elements and use the Bitmap fill option in the Gradient tool. 
(You might have to nudge a handle to get it to recognize the area as the sum of all the parts. Otherwise it might want to resize the fill to fit each shape individually.)

If you want to move a shape/shapes after the fill without moving the background (a la "lock children") use the node tool.
Yes this means that shape objects will need to be converted to curves and you will loose the individual shape parameter options.
The move tool will move a shape with the image.

2103100035_ScreenShot2019-05-10at2_42_07PM.png.560b4ff5f5252d8d57c3ce42ae6432d5.png

 

Share this post


Link to post
Share on other sites
12 minutes ago, sumneuron said:

@JimmyJackcan you upload that file so I can look at it and learn from it. Not sure exactly what everything you said means, e.g. lock children / bitmap

Here ya go.
With one, or all, of the image filled objects selected, take a look at the gradient tool and it's context toolbar.
(I changed to image because the other made the file fairly massive)

Gotta run out. But can do a quick vid showing what I mean about the different moving techniques later.

 

various layers fill.afdesign

Share this post


Link to post
Share on other sites
2 hours ago, sumneuron said:

@JimmyJack how do I make a bit map?

While yes, a Bitmap can be a specific file type with the .BMP extension, in this case "bitmap" means any (afaik) file that is only raster info. i.e. jpg, png, tiff, gif...... etc (HA! etc should be a file type :D). You can see in the first GIF above that I used a JPG.

So....You don't need to make one. Just use the the texture image you have. I'm quite certain it will qualify.

But as a side note, I'd just like to point out that the technique to fill multiple disjointed (layer-wise) objects will work with all the other options in the gradient file dropdown list too... As well as the regular fill/stroke panel. The above is specific to imagery.

Share this post


Link to post
Share on other sites
3 hours ago, JimmyJack said:

(HA! etc should be a file type :D)

I think you should develop that idea & submit a formal proposal to standards organizations like ISO, W3C & IETF ... on the first day of April of next year. :72_imp:


Affinity Photo 1.7.3, Affinity Designer 1.7.3, Affinity Publisher 1.7.3; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.3.155 & Affinity Designer 1.7.3.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.1.2

Share this post


Link to post
Share on other sites

@JimmyJack I have a follow up. Suppose I have some text (either Textbox, Art-Text or a group of either). I have the same texture as before. I use the text as a mask (e.g. as you did above). Is there a way to edit that text (e.g. hot key t and change what it says) while it is still working as a mask? Or do I always have to unmask, edit, remask?

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

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.