| Taelon's gmax Tutorials Tutorial 6 Animation & Projected Shadows, Part Two ![]()
|
Animation & Projected Shadows, Part Two In this tutorial we will use an array to create a spiral staircase, then create a shape and use a path constraint to animate the bouncing ball that was created in Part One so that it bounces down the stairs.
|
|
| Step 1) Create a stair step Start gmax or select "File" > "Reset" to start a new scene. (Note: If you are continuing from Part One,
Do NOT Save the Scene.)
The tube section should resemble a slice of pie. |
![]() |
| (Note: Creating New Materials and Assigning Maps was
illustrated in detail in Tutorials 1 and 4.) Step 2) Create the Step Material Step01 should be selected.
This mapping looks pretty ugly, especially on the rising edge of the step. Step 3) Remap the Step
|
![]() |
| Step 4) Create an Array We could copy the object a number or times and move it into position, but it's much easier to use the "Array" tool.
|
|
![]() |
|
| Step 4) Create an Array (cont.) Here we can specify the number of total elements we want in our array, as well as the incremental or total transformation of position, rotation and scale for each axis individually.
|
|
| Step 5) Modify the Array Since we don't have a central column for the staircase, there should be some overlap between the "steps".
Step 7) Rotate the Helix
|
![]() ![]()
|
Step 8) Merge the Scenes
|
![]() |
Step 9) Add a Path Constraint
In the Position List rollout you'll see a Path Constraint has been added. In the "Path Parameters" rollout, Helix01 will be listed as the Target with Weight = 50 Also note that 2 new keys have been automatically created, one at each end of the timeline. If you press play, you'll see an odd animation of the ball bounding up the stairs. This isn't what we want so we need to make some adjustments. Step 10) Time Configuration
It's not exactly "Toy Story" but it should give you the basic building blocks for creating your own animated scenes. |
|
| Step 12) Modify the Animation
We can make the animation look a lot better with just a few changes.
That's better, but how about adding some rotation to the ball? Because of the rotational component of the stairs if we add a simple rotation to the ball it will look correct only at the top and bottom.
Step 13-1) Correct Ball Rotation Load the "Spiral_Stairs" scene you saved in Step 12. Play the animation to verify there is no rotation of the ball.
Because we are using the Follow function of the Path Constraint, the shadow map on "Plane01" is tilted (aligned) to follow the path of the Helix. There are a number of ways to fix it, but the easiest is probably to just rotate it so that it's once again level with the top of the steps.
Because the path goes through the steps, the shadow disappears at times. We can fix this by cheating a little and adding a few key frames.
I hope this tutorial gave you a good understanding of some of the basic animation techniques, and gave you some ideas for creating fake shadows and using them to bring your own creations to life. |
|
I hope you enjoyed this tutorial. |
|
|
|
| top of page |
Tutorial created on 14-Aug-2003