Copy link to clipboard
Copied
I'm creating a fabrics with pattern and I want to apply glitters only to some details of the pattern itself.
I use the .svg file created in Illustrator (here attacched) and the color pattern, black and white pattern are esactly the same. They overlap perfectly.
When I use the B&W pattern to apply glitters using a Custom mask input feature, the mask doesn't match in any place but only in some part of the pattern.
You can see the screenshot here attacched and the Sampler file I used to create the fabric material.
You can download all the original files here below.
This is an education project not a commercial project.
Thank you in advance for any help and suggestion to solve.
I get the same result as you. I check also your both SVG's and find out that they look different in their size without clipping in Adobe Illustrator. May be the reason is in final SVG code as they can be compiled differently from Ai? I haven't check the code but is it possible for you to export them as png or jpg and test again?
Thank you
Thank you Ares, effectly if I use a .jpg file it works! (see the screen shot attacched) My .svg are exported in the Export for screen where you can export in a lot of formats every artboard!
Have you some idea about the code for an .svg that could work?
Thanks.
Copy link to clipboard
Copied
I get the same result as you. I check also your both SVG's and find out that they look different in their size without clipping in Adobe Illustrator. May be the reason is in final SVG code as they can be compiled differently from Ai? I haven't check the code but is it possible for you to export them as png or jpg and test again?
Thank you
Copy link to clipboard
Copied
Thank you Ares, effectly if I use a .jpg file it works! (see the screen shot attacched) My .svg are exported in the Export for screen where you can export in a lot of formats every artboard!
Have you some idea about the code for an .svg that could work?
Thanks.
Copy link to clipboard
Copied
SVG code works but in your case have some components that differs for this too files. For exporting SVG you can also use "Save As" option in Illustrator that allows to control many parameters of SVG files. See How to save artwork in Illustrator (adobe.com).
There are many resources for starting going deeper into SVG code and how it use. You can start here https://youtu.be/K_7kCH5KuGU
But for your task with Sampler you can achieve better result using jpg file. Using SVG files in Sampler allows you to build bridge between Sampler and Illustrator (editing and saving SVG file in Ai can be viewed in Sampler).
Copy link to clipboard
Copied
Thank you Ares, I'll try that way.
Copy link to clipboard
Copied
Hi Ares, I checked again the file that didn't work and I found a mistake in the Adobe Illustrator. The file was created by ore of my student.
I created a new Pattern by myself and the .svg file used for the fabric and for the custom mask works perfectly! See the screenshot here attacched.
Copy link to clipboard
Copied
Nice , that you find a solution. Probably, they use different method for creting pattern for file.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now