Is there a way to show darker shade if the cloth turned other way around??
Moderators: Víctor Paredes, Belgarath, slowtiger
- striker2311
- Posts: 226
- Joined: Wed Aug 26, 2020 3:55 pm
Is there a way to show darker shade if the cloth turned other way around??
Suppose there is cloth made with shape or points in moho, there if one side is turned (dragged) to the other side then is there a way that the closed shape (cloth) will become darker in colour automatically?
- hayasidist
- Posts: 3857
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Is there a way to show darker shade if the cloth turned other way around??

something like this??
two shapes:
shape 1: the quadrilateral formed by 4 points (i.e. all those except the peak of the moving triangle): dark fill (the lowest shape)
shape 2: the big triangle (5 points): white fill (the front shape)
works if the moving point stays inside the main shape.
if that's not what you need, just say...
- striker2311
- Posts: 226
- Joined: Wed Aug 26, 2020 3:55 pm
Re: Is there a way to show darker shade if the cloth turned other way around??
Yeah you got it right. Though it would work if the moving point stays inside the main shape, right?hayasidist wrote: ↑Wed Nov 16, 2022 10:25 pm
something like this??
two shapes:
shape 1: the quadrilateral formed by 4 points (i.e. all those except the peak of the moving triangle): dark fill (the lowest shape)
shape 2: the big triangle (5 points): white fill (the front shape)
works if the moving point stays inside the main shape.
if that's not what you need, just say...
I want that even if the moving point goes out of it the colour remains black (or darker).
Is there a way to do that?
- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Is there a way to show darker shade if the cloth turned other way around??
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- striker2311
- Posts: 226
- Joined: Wed Aug 26, 2020 3:55 pm
Re: Is there a way to show darker shade if the cloth turned other way around??
Yeah this is exactly what I was talking about. Thanks a lot.synthsin75 wrote: ↑Thu Nov 17, 2022 2:07 am Here's one way to do it:
https://dl.dropboxusercontent.com/s/s4i ... .moho?dl=0
![]()
Though can you explain it a bit like what logic did you use in this?
- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Is there a way to show darker shade if the cloth turned other way around??
It's all references, so everything stays in sync animating a single layer.
The bottom layer is the main color and doesn't get masked. This is because I'm using a hide all mask that only shows what the shade mask exposes.
The middle layer is the "exterior" shade mask that adds invisibly to the hide all mask.
The top layer is the shade color, masked by the middle layer.
So as the the "exterior" mask is pulled over any part of the sheet, it shows the shade color. I made this from a page turn effect I made years ago:

The bottom layer is the main color and doesn't get masked. This is because I'm using a hide all mask that only shows what the shade mask exposes.
The middle layer is the "exterior" shade mask that adds invisibly to the hide all mask.
The top layer is the shade color, masked by the middle layer.
So as the the "exterior" mask is pulled over any part of the sheet, it shows the shade color. I made this from a page turn effect I made years ago:

- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- striker2311
- Posts: 226
- Joined: Wed Aug 26, 2020 3:55 pm
Re: Is there a way to show darker shade if the cloth turned other way around??
I got that. Thanks for taking out time from your schedule and make the file and explaining it to me.synthsin75 wrote: ↑Fri Nov 18, 2022 1:05 am It's all references, so everything stays in sync animating a single layer.
The bottom layer is the main color and doesn't get masked. This is because I'm using a hide all mask that only shows what the shade mask exposes.
The middle layer is the "exterior" shade mask that adds invisibly to the hide all mask.
The top layer is the shade color, masked by the middle layer.
So as the the "exterior" mask is pulled over any part of the sheet, it shows the shade color. I made this from a page turn effect I made years ago:
![]()
Thanks Wes