Is there a way to show darker shade if the cloth turned other way around??

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
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??

Post by striker2311 »

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?
User avatar
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??

Post by hayasidist »

Image

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...
User avatar
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??

Post by striker2311 »

hayasidist wrote: Wed Nov 16, 2022 10:25 pm Image

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...
Yeah you got it right. Though it would work if the moving point stays inside the main shape, right?
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?
User avatar
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??

Post by striker2311 »

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
Image
Yeah this is exactly what I was talking about. Thanks a lot.

Though can you explain it a bit like what logic did you use in this?
User avatar
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??

Post by synthsin75 »

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:
Image
User avatar
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??

Post by striker2311 »

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:
Image
I got that. Thanks for taking out time from your schedule and make the file and explaining it to me.

Thanks Wes
Post Reply