Overlapping objects - back object showing through

Post questions on how to use or achieve an effect in Inkscape.
dfaithberry

Overlapping objects - back object showing through

Postby dfaithberry » Thu Apr 01, 2010 1:45 am

I have two objects which I have overlapped. I want the parts that do not overlap to show, but need to find a way for the bottom object to not display where it overlaps with the top object. I tried creating two different layers to fix it, but it did not work.

For example, say I have a picture of six square on bottom object and 2 circles on the top object. I then align the two circles to overlap two of the six squares. I do NOT want those two squares to be visible. Right now it is almost as though the top object is translucent, even though I picked solid colors and set occupancy to 100%

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Overlapping objects - back object showing through

Postby druban » Thu Apr 01, 2010 5:20 am

There are several places you can assign transparency. Check your layer blending mode, the alpha slider as well as the overall opacity slider (the last two are in the fill and stroke dialog) My best guess is the A slider in your fill color is set to less than 255. Naturally this has never ever happened to me.
Your mind is what you think it is.

hellokitty
Posts: 3
Joined: Thu Apr 01, 2010 1:40 am

Re: Overlapping objects - back object showing through

Postby hellokitty » Thu Apr 01, 2010 7:02 am

I did check the slide bars for Fill and Stroke and both are set to 100% Opacity. Blend mode is set to normal and the opacity for overall layers are 100% Opacity and the A slider was set to 255 for all four layers. hmm, not sure what else to do. I see lines from the background intersecting my squares, which I do not want. I figure back layer, the lines would fall behind the square when overlapping.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Overlapping objects - back object showing through

Postby prkos » Thu Apr 01, 2010 7:09 am

Can you post a screenshot of the whole window while one of the objects is selected? Resize the window to only show relevant objects, statusbar and maybe fill and stroke dialogue

Or upload the svg in question so we can see what it's about.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

hellokitty
Posts: 3
Joined: Thu Apr 01, 2010 1:40 am

Re: Overlapping objects - back object showing through

Postby hellokitty » Thu Apr 01, 2010 10:38 pm

Thanks for taking a look. Attached is the svg file I am working on. Please keep in mind I am not in any way a digital genius so the diagram is amateurish at best.
Attachments
Fragment.svg
(134.06 KiB) Downloaded 363 times

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Overlapping objects - back object showing through

Postby druban » Fri Apr 02, 2010 6:26 pm

Okay, I have looked at the svg in inkscape but I am not sure what Items you want to be opaque that are transparent. I have a feeling that you might be talking about the oblique lines - the 'zoom' lines if you will - but you can see through these because they are not polygons but just two-node lines. to make these figures opaque you would have to connect each segment to the next until you they formed a closed - and therefore fillable - shape. A daunting task! But possible.
Fragment.svg
(136.01 KiB) Downloaded 237 times

I have done one for you.
If this is what you want.
Please explain if not.
:oops: :oops: Or you could read ~suv's post, which is much more to the point and renders my post unnecessary but I can't delete it. :D :oops: :oops:
Last edited by druban on Sat Apr 03, 2010 8:02 am, edited 1 time in total.
Your mind is what you think it is.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Overlapping objects - back object showing through

Postby ~suv » Fri Apr 02, 2010 7:12 pm

hellokitty wrote:I did check the slide bars for Fill and Stroke and both are set to 100% Opacity.
No - all your blue rectangles have opacity set to 53, so the lines in layers below them are shining through.
Attachments
Fragment-opacity-100.svg
(145.04 KiB) Downloaded 219 times

hellokitty
Posts: 3
Joined: Thu Apr 01, 2010 1:40 am

Re: Overlapping objects - back object showing through

Postby hellokitty » Sat Apr 03, 2010 1:39 pm

thanks you all. I made some fixes per your help. I really appreciate it and am much happier with the final copy


Return to “Help with using Inkscape”