How to make a window into shapes behind? (img attached)

Post questions on how to use or achieve an effect in Inkscape.
User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

How to make a window into shapes behind? (img attached)

Postby javierdl » Thu Apr 18, 2019 6:41 am

rectwindowingcircles.PNG
rectwindowingcircles.PNG (13.73 KiB) Viewed 1977 times


I suppose this would be masking.
I need for the white rectangle to show what's just behind it, and the rest to hide.

I hope this is the last question today.

Thanks

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How to make a window into shapes behind? (img attached)

Postby Polygon » Thu Apr 18, 2019 8:54 am

I for sure make a radial gradient and apply it to a rectangle like so:
RadialGradientOnRectangle.png
RadialGradientOnRectangle.png (13.3 KiB) Viewed 1962 times


Cheers
P.
Attachments
rectwindowingcircles.svg
(24.64 KiB) Downloaded 109 times

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby javierdl » Thu Apr 18, 2019 10:04 am

Good one!

Thank you Polygon! :)

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby javierdl » Thu Apr 18, 2019 11:01 am

Why I cannot add more gradient nodes?
When I move the cursor over the line connecting the center square and the small circle on the right, a large + sign appears. So I click on the line, but nothing happens! It won't add a node there.
What am I missing?

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

Re: How to make a window into shapes behind? (img attached)

Postby druban » Thu Apr 18, 2019 11:08 am

double click, or use the plus sign in the control bar of the gradient tool
Your mind is what you think it is.

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby javierdl » Thu Apr 18, 2019 11:14 am

I see. I got it!
Now, how do I get them not to mix. But like Polygon has them in his example?

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

Re: How to make a window into shapes behind? (img attached)

Postby druban » Thu Apr 18, 2019 12:02 pm

There are two nodes one on top of another (I haven't looked at his file though)
Your mind is what you think it is.

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby javierdl » Thu Apr 18, 2019 11:20 pm

Exactly!
Thank you for demystifying that druban! :)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby brynn » Fri Apr 19, 2019 7:59 pm

For your original question, you would want to use Clipping rather than Masking.

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How to make a window into shapes behind? (img attached)

Postby javierdl » Fri Apr 19, 2019 11:16 pm

Thank you brynn :)


Return to “Help with using Inkscape”