Overlayed shapes: One is transparent - One is not

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Overlayed shapes: One is transparent - One is not

Post by SimplSam »

Hi,

Below I have 2 graphics - which are similar. i.e. 2 sets of 2 Black Boxes with thin White borders
- overlayed upon each other as 'Shapes' (i.e. Shape #1 and Shape #2). They are both on the same layer - along with the blue shape in the background.

What I am trying to understand is why #2 is transparent at the intersection of the two inner boxes, and yet #1 is not?

Image

#1) I created in Moho

#2) I imported from an SVG
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
synthsin75
Posts: 9973
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Overlayed shapes: One is transparent - One is not

Post by synthsin75 »

The boxes for #2 share the same shape, so the overlap is considered a hole.
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Overlayed shapes: One is transparent - One is not

Post by SimplSam »

Interesting....

I think when I created #1 - I created two filled (inner) boxes and then added them together to make a new single shape. I have now tried with 2 unfilled (inner) boxes and yes it behaves as you have stated - when I then make them a shape (i.e. a transparent hole).

When I go back and change the fill colour for Shape #1, the intersect (hole) is now black (i.e previous fill).

Image

I could then select the inner-shape - by selecting the black bit - and whilst messing with shape ordering ended up with the rather strange Green, Black, Transparent (Blue).

Image
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
synthsin75
Posts: 9973
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Overlayed shapes: One is transparent - One is not

Post by synthsin75 »

Yeah, that looks like you now have four or five shapes on that layer. Two boxes with holes, the blue band, and one or two black squares on #1.
Post Reply