Question about shape and depth management.

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
AlrikJ
Posts: 4
Joined: Thu Sep 14, 2023 9:09 pm

Question about shape and depth management.

Post by AlrikJ »

Hello everyone.
I'd like to use the same vector layer to draw the shadows of a character, so as not to use a mask.
I'd like these shadows to be above the fill of the shapes below, but below their outline.
Is it possible to create 2 superimposed shapes from a single line?
In this way, I can play with the depth of the shapes and move the fill of one shape to the bottom and its outline to the top.
I've managed to do this a few times, but it doesn't work every time.
I apologize if this isn't clear, it's not easy to explain.
User avatar
mmmaarten
Posts: 271
Joined: Mon Sep 19, 2022 2:19 pm
Location: Utrecht, The Netherlands
Contact:

Re: Question about shape and depth management.

Post by mmmaarten »

How did you do this before?
Adults should play more often
AlrikJ
Posts: 4
Joined: Thu Sep 14, 2023 9:09 pm

Re: Question about shape and depth management.

Post by AlrikJ »

I draw an outline, then create a shape from that outline.
I create a new shape from the same outline, this time keeping only the lines I can position over it.
In this way, I can drag a shape between a fill and an outline.
But this doesn't always work.
Sometimes, when I create the second shape, it doesn't create a second superimposed shape but replaces the first.
User avatar
mmmaarten
Posts: 271
Joined: Mon Sep 19, 2022 2:19 pm
Location: Utrecht, The Netherlands
Contact:

Re: Question about shape and depth management.

Post by mmmaarten »

AlrikJ wrote: Fri Sep 15, 2023 9:29 am Sometimes, when I create the second shape, it doesn't create a second superimposed shape but replaces the first.
Did you try copying first with ctrl+c -> ctrl-v (on windows) before creating the shapes?
Adults should play more often
AlrikJ
Posts: 4
Joined: Thu Sep 14, 2023 9:09 pm

Re: Question about shape and depth management.

Post by AlrikJ »

I hadn't tried, thinking that you could only copy the contours.
It seems to work, thank you very much for your help.
User avatar
mmmaarten
Posts: 271
Joined: Mon Sep 19, 2022 2:19 pm
Location: Utrecht, The Netherlands
Contact:

Re: Question about shape and depth management.

Post by mmmaarten »

AlrikJ wrote: Fri Sep 15, 2023 10:09 am It seems to work, thank you very much for your help.
Nice to read it helped!
Adults should play more often
User avatar
hayasidist
Posts: 3527
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Question about shape and depth management.

Post by hayasidist »

AlrikJ wrote: Fri Sep 15, 2023 6:53 am Hello everyone.
I'd like to use the same vector layer to draw the shadows of a character, so as not to use a mask.
I'd like these shadows to be above the fill of the shapes below, but below their outline.
Is it possible to create 2 superimposed shapes from a single line?
In this way, I can play with the depth of the shapes and move the fill of one shape to the bottom and its outline to the top.
I've managed to do this a few times, but it doesn't work every time.
I apologize if this isn't clear, it's not easy to explain.
Moho won't let you create two shapes from the same set of points (why :roll: ?!). There is a mod to the factory lm_create_shape tool here: https://www.lostmarble.com/forum/viewtopic.php?t=32301 that does let you do as you've asked -- BUT it looks as though it has not yet been updated for 14 - I haven't tried it (doesn't mean it won't work in 14, just means it might not have all the new stuff in it alongside the additional functionality).
AlrikJ
Posts: 4
Joined: Thu Sep 14, 2023 9:09 pm

Re: Question about shape and depth management.

Post by AlrikJ »

A double huge thank you hayasidist!
For introducing me to scripts in MOHO, and for recommending one that solves my problem perfectly.
Post Reply