Water Tutorial

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Lost Marble
Site Admin
Posts: 2355
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Water Tutorial

Post by Lost Marble »

How to create water effects is a question that comes up from time to time. Water can be very complex, and there are all kinds of styles of "water" for a cartoon animation. There are probably endless ways to create water effects in Moho. Here's one.

First, here's a look at the effect I'll be showing you how to create:

http://www.lostmarble.com/misc/water_tu ... erfall.mov

And here's the Moho file if you want to download it and take a look:

http://www.lostmarble.com/misc/water_tu ... rfall.moho

Now, on to the instructions. There's plenty of room for tweaking in these directions, so feel free to experiment and try changing things here and there.

First, draw the shape of your flowing water (a river with a waterfall in this example) in a vector layer called "River":

Image

Now create a new vector layer called "Ripple" and draw a little upward-pointing arrow. Fill the arrow with a light pale blue, partially transparent color and give it a soft edge fill effect:

Image

Use the Translate Layer tool to move the ripple layer to the beginning of the water stream:

Image

Next, set the current time to the duration of the flowing animation (in this case frame 48 ), and use the Translate Layer tool to move the ripple to the end of the water flow:

Image

The blue line shows the motion the ripple layer will take. Now go to the middle frame of the animation, and position the ripple inside the river's flow:

Image

You can add more keyframes using Translate Layer if you want to match the river's flow more closely:

Image

Now, double-click the ripple layer and turn on "Rotate to follow path" - this will make the ripple point in the direction of the river's flow:

Image

Next, create a new particle layer and add the ripple layer to the particle group. The particle layer should have a lifetime set to the length of the ripple's animation, no velocity or acceleration, and adjust the particle source width and height so that the ripples fill up most of the river outline. Don't worry if they go outside it right now. The number of particles you'll need all depends on the size of the river, the size of the particles, the length of the animation, etc. I used 750 particles in this example:

Image

To add some variety, duplicate the ripple layer two or three times, and modify each copy slightly. Use a slightly different shade of pale blue, and move the control points around a bit to change the "arrow" shape of the ripple a bit:

Image

Finally, put both the river layer and the particle layer inside a group, and use masking to make the ripples only visible where they are inside the river outline: (In the final animation, the river outline is blurred a bit to soften its abrupt edges.)

Image

That's it! Let's see what variations and improvements on this technique you can come up with.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post by bupaje »

@LM - great tutorial! I've asked about this myself and will give it a try tonight.
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
User avatar
cribble
Posts: 899
Joined: Wed Aug 04, 2004 12:42 pm
Location: London, UK
Contact:

Post by cribble »

oo wee that is snazzy, and it looks very effective aswell. Going to give that bad boy a try tonight.
--Scott
cribble.net
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post by 7feet »

For someone who says he doesn't really have time to animate you sure seem to come up with really novel and effective ways to animate stuff. I'd hate to see how you'd make us all look if you took a few weeks to just make a cartoon. Frankly, I'd sure like to see that. 'Course, I'm sure the developing keeps you on your toes. Really nice little tutorial there.
DaleG
Posts: 71
Joined: Tue May 24, 2005 4:55 pm
Location: USA

tutorials

Post by DaleG »

I like the whole concept of postings tutorials .. more please!
myfish
Posts: 5
Joined: Fri Jun 24, 2005 7:51 am
Location: Jersey, Channel islands, UK

Post by myfish »

That answered alot of questions here too.
Great idea, and i too, would like to see more posted tutorials along with links to the related files.
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

I'm just going to chime in here too, and say thanks!

The tutorials that come with moho are good, and they explain the tools quite well. However, this is more "meaty" and this kind of tutorial where the goal is to accomplish some animation task is greatly appreciated.
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post by Toontoonz »

A quick animation using the tutorial to make lava flow down the side of a volcano....
Lava and volcano

I need to slow the flow a bit.... :D
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post by Toontoonz »

I added another flow of lava....

Volcano with 2 flows of lava
myfish
Posts: 5
Joined: Fri Jun 24, 2005 7:51 am
Location: Jersey, Channel islands, UK

Post by myfish »

Hi guys.
I'm new to this.

I tried, or am trying to create a prop (glass of sparkling water, on a table)

I have a table layer.
I have a particle layer borrowed from the "sparkle" script
I have a glass layer.

I have created a masking group and into that have placed the glass and the particle layers.

However, the particle layer is still drawing outside the boundaries of the glass ?

Its probably something really basic i'm doing wrong.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post by bupaje »

See this thread and example file by LM for a good example of how to set up the masking group.

http://www.lostmarble.com/forum/viewtopic.php?t=553
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post by Toontoonz »

Using the Moho tutorial - bubbles rising in a beer glass.
Image

Here´s the movie:
Bubbles in a Glass of Beer
0.53 Mb, 3 seconds.
myfish
Posts: 5
Joined: Fri Jun 24, 2005 7:51 am
Location: Jersey, Channel islands, UK

Post by myfish »

Thats a better effort than mine. I could use those particle settings :)
Anyway, i have managed to get a render, once only.

That movie is @ http://www.myfishcasting.org/moho/anima ... _water.mov

If i try to render the animation now, the particles are no longer contained within the mask.

I made up 1 or 2 other tests, and they all worked fine.
Maybe its just this example ?

Please excuse my efforts.
User avatar
Lost Marble
Site Admin
Posts: 2355
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Post by Lost Marble »

Can you post a link to your Moho file? Without looking at it, I can't say why the masking is set up wrong.
myfish
Posts: 5
Joined: Fri Jun 24, 2005 7:51 am
Location: Jersey, Channel islands, UK

Post by myfish »

doh

Sure.

I should have already done that.

http://www.myfishcasting.org/moho/mohos ... water.moho

It is working now, athough i couldn't figure out why in preview mode (play the animation) the mask works with the searchlights type animation.
i:e, you can see the mask working.

With these particles, the mask doesnt show until render time ?
Post Reply