Hello!
I have a problem with overlay mode for objects in Inkscape, i don't get the result that i want!
here's an image in Inkscape :
And here's an image of what i want using Synfig :
So why it's not working the same ?!!
Thank you.
Overlay mode objects Inkscape
Re: Overlay mode objects Inkscape
Probably because Synfig and Inkscape are different programs, and they implement these features differently. It doesn't look like that part of the circle did disappear in Synfig, or else we would not see the stroke still remaining
If you can tell us what you want to do, we can tell you how. If all you want is for that outer part of the dark green circle to disappear, then do this:
1 -- duplicate the dark green circle
2 -- select the light green circle and 1 dark green circle
3 -- Path menu > Intersection
Edit
Actually, after futher research, I'm not sure if what you're seeing is the effect of the Overlay filter. When I try, using your same example, I don't get any effect. I just get one circle on top of the other, with no apparent blending.
Do you have some transparency in the other object (the light green one) or maybe alpha transparency in the dark green one? The only way I can get result like yours is to make one of the circles partially transparent. Or do you maybe have some filter applied to the other objects or layer?
You're welcome to share an SVG file, if you like.
If you can tell us what you want to do, we can tell you how. If all you want is for that outer part of the dark green circle to disappear, then do this:
1 -- duplicate the dark green circle
2 -- select the light green circle and 1 dark green circle
3 -- Path menu > Intersection
Edit
Actually, after futher research, I'm not sure if what you're seeing is the effect of the Overlay filter. When I try, using your same example, I don't get any effect. I just get one circle on top of the other, with no apparent blending.
Do you have some transparency in the other object (the light green one) or maybe alpha transparency in the dark green one? The only way I can get result like yours is to make one of the circles partially transparent. Or do you maybe have some filter applied to the other objects or layer?
You're welcome to share an SVG file, if you like.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Overlay mode objects Inkscape
It doesn't look like that part of the circle did disappear in Synfig, or else we would not see the stroke still remaining
It's not that to disappear but to not show up !
If you can tell us what you want to do, we can tell you how.
I want to shade a character :
If all you want is for that outer part of the dark green circle to disappear, then do this:
1 -- duplicate the dark green circle
2 -- select the light green circle and 1 dark green circle
3 -- Path menu > Intersection
I already did that but it's not practical at all
Do you have some transparency in the other object (the light green one) or maybe alpha transparency in the dark green one? The only way I can get result like yours is to make one of the circles partially transparent. Or do you maybe have some filter applied to the other objects or layer?
No it's with full opacity and i did not apply any filters !
And here's the SVG :
Re: Overlay mode objects Inkscape
Hi.
The overlay filter uses background image as an input. That's resource heavy, as far as I know that's why inkscape needs a special tag added for the renderer.
To make it work, add a new layer and set its blending mode to anything custom.
Then you can turn that layer off, the "per object" overlay filter should work as expected.
The overlay filter uses background image as an input. That's resource heavy, as far as I know that's why inkscape needs a special tag added for the renderer.
To make it work, add a new layer and set its blending mode to anything custom.
Then you can turn that layer off, the "per object" overlay filter should work as expected.
Re: Overlay mode objects Inkscape
Does synfig support clips? Then I would use a clone (or maybe a linked offset without actual offset, that's easier to color in, and still a clone) that is clipped to the shape of the face.
I.e.:
- select hair
- do Path -> Linked offset
- move the linked offset to its new place
- change its color and blur
- duplicate the face
- make sure it's above the shadow
- select both shadow and face
- Path -> Clip -> Set
This way, you can change the shape of the hair, and the shadow will change along. When you use a clone of the face for clipping instead of a duplicate, also the clip will adapt to changes in the face. That's how clones work.
I.e.:
- select hair
- do Path -> Linked offset
- move the linked offset to its new place
- change its color and blur
- duplicate the face
- make sure it's above the shadow
- select both shadow and face
- Path -> Clip -> Set
This way, you can change the shape of the hair, and the shadow will change along. When you use a clone of the face for clipping instead of a duplicate, also the clip will adapt to changes in the face. That's how clones work.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Overlay mode objects Inkscape
To make it work, add a new layer and set its blending mode to anything custom.
Then you can turn that layer off, the "per object" overlay filter should work as expected.
I don't understand what's the role of this layer? and yes i did like you said but it's not working !
Does synfig support clips?
No it's not clipping, here's what Synfig do :
I tried many ways of masking and clipping it doesn't give the same result as Synfig !
Thank you for your help.
Re: Overlay mode objects Inkscape
Ok, I was not able to make it work with Lazur's instructions (unless I misunderstood). Just making another layer, and setting it for Overlay, and turning it off didn't work. But here's what did work. When he say it needs something in the background to help it work, that gave me the idea to put a rectangle with a solid color behind. Then the object with Overlay did work like you want.
Even if the rectangle behind it is white, it makes it work. Also, note that it doesn't disappear at the moment of putting the rectangle behind, or the moment of setting Overlay for the object. I always have to grab the object and drag it around, to make the effect show up. I don't know why. Maybe Inkscape is just not so good with blending modes yet? Or maybe it would work better to use blending filters rather than blending modes?? I'm not sure about that.
But anyway, that made it work for me -- put a solid color behind it. Note that I tried using an opaque background color for the canvas. But that didn't work. Apparently it has to be an object behind.
Even if the rectangle behind it is white, it makes it work. Also, note that it doesn't disappear at the moment of putting the rectangle behind, or the moment of setting Overlay for the object. I always have to grab the object and drag it around, to make the effect show up. I don't know why. Maybe Inkscape is just not so good with blending modes yet? Or maybe it would work better to use blending filters rather than blending modes?? I'm not sure about that.
But anyway, that made it work for me -- put a solid color behind it. Note that I tried using an opaque background color for the canvas. But that didn't work. Apparently it has to be an object behind.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Overlay mode objects Inkscape
Ok, made a screen capture for you:
https://youtu.be/so_LEUw8NIs
Can't help the filter editor looking ugly...
And having doubts if synfig could handle filters either, so it's more about the "how to pull off overlay filtering in inkscape" part.
https://youtu.be/so_LEUw8NIs
Can't help the filter editor looking ugly...
And having doubts if synfig could handle filters either, so it's more about the "how to pull off overlay filtering in inkscape" part.
Re: Overlay mode objects Inkscape
I´m pretty sure SynfigStudio uses quite a hack to mask objects as it clips in most of the available color modi.
Inkscape can use what most "modern" SVG editors have: "Stacking" or "Paste Inside":
Cheers
Inkscape can use what most "modern" SVG editors have: "Stacking" or "Paste Inside":
Cheers