Page 1 of 2

Water Tutorial

Posted: Tue Jun 28, 2005 6:09 pm
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.

Posted: Tue Jun 28, 2005 6:19 pm
by bupaje
@LM - great tutorial! I've asked about this myself and will give it a try tonight.

Posted: Tue Jun 28, 2005 7:28 pm
by cribble
oo wee that is snazzy, and it looks very effective aswell. Going to give that bad boy a try tonight.

Posted: Wed Jun 29, 2005 4:25 am
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.

tutorials

Posted: Wed Jun 29, 2005 7:07 pm
by DaleG
I like the whole concept of postings tutorials .. more please!

Posted: Wed Jun 29, 2005 8:45 pm
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.

Posted: Wed Jun 29, 2005 9:14 pm
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.

Posted: Thu Jun 30, 2005 12:44 am
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

Posted: Thu Jun 30, 2005 1:37 pm
by Toontoonz
I added another flow of lava....

Volcano with 2 flows of lava

Posted: Fri Jul 01, 2005 4:13 pm
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.

Posted: Fri Jul 01, 2005 5:27 pm
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

Posted: Fri Jul 01, 2005 8:24 pm
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.

Posted: Fri Jul 01, 2005 9:05 pm
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.

Posted: Fri Jul 01, 2005 10:30 pm
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.

Posted: Fri Jul 01, 2005 10:50 pm
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 ?