Home » Fusion, Lightwave 7.5

Animated Snow Trails

9 September 2004 17,870 views No Comment

This tutorial shows a technique I came up with to create displaced trails in the snow. (I won’t claim to be the first ever person to invent this, since most good ideas are usually not new ideas!).

If you want to see what the result looks like, then jump to the final page of this tutorial where you can download the animation at the bottom of the page.

The problem

  • I need to create trails in the snow.
  • The trails need to react to the characters feet and also to the cloth simulation that is running on the characters clothes.
  • It needs to be repeatable and pretty much automatic so that if the model or the animation changes, I won’t have to repeat a huge amount of work.
  • It also needs to work on a surface that can vary in height, i.e. not a perfectly flat surface.


Doesn’t sound easy huh! Well it is, and I’m going to tell you how to do it.

You’ll need a copy of Digital Fusion to follow this tutorial, but all decent compositing packages have the features that I describe. To be honest I reckon you could even do it in Photoshop now that CS has scripting support. (I wouldn’t like to try it using Photoshop Actions, but if you manage to get it to work, let me know!).

Setup

To do this tutorial you need a snow surface and something with which to create trails in the snow. I’m going to just use a simple Sub-D plane for the snow and a ball to make the trails. I’m using simple objects so that I can provide you with complete scene files to download as this tutorial progresses. I can assure you that this technique easily scales to work with objects with as many polygons as you like.

The snow surface is a 10m x 10m grid in the XZ plane, subdivided 10 times along each direction, and I’ve pressed TAB to turn it into a subdivided surface. The ball is just a tesselated sphere (sometimes called a geosphere) subdivided at level 5 with a radius of 0.75m. Both objects are centered at the origin.

You can download the objects here:

Download: SnowObjects.zip (5.9 Kb)

Start Lightwave Layout and load both objects. Since we want an undulating snow surface, we’re going to apply some fractal noise to the grid as a displacement texture to the snow surface.

Firstly, make sure you set the subdivision order to "After Displacement" in the Object Properties->Geometry tab. Now go to the Object Properties->Deform tab and click on the "T" button next to Displacement Map. Set a procedural texture layer to the following settings:

Layer Type:           Procedural Texture
Displacement Axis:    Y

Procedural Type:      Turbulence
Texture Value:        1.0
Frequencies:          3
Contrast:             100 %
Small Power:          1

Scale X:              5 m
Scale Y:              5 m
Scale Z:              5 m

Animate the ball moving across the snow surface, so that it intersects it in several places. Wherever the ball intersects is where the snow trails will be formed (or at least they will later when we’ve finished). I animated my ball over 180 frames, but you may want to do fewer to speed things up.

Inital Setup

On the next page, I’ll show you how to set up the rendering of this scene so as to capture the information we’re after.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Security Code: