Download User Manual - Realsoft Graphics

Transcript
Animations
Tutorial project: 'tutorprojects\animation\path\morphing path'
Making an object follow a path defined by an open curve is essentially the same as using a closed curve. Once
again, the initial positions of the two objects, in relation to each other, determines the actual movement (that
is, if you are using the Translate option).
Set up a sphere and a curve as shown in the image, and use Lattice
Mapping/Path with the default options, and then play the animation.
A sphere and an open NURBS curve as
the path
Now edit the NURBS curve, maybe straightening out the dip near the middle, and then play the animation. Try
just moving points first, then edit the curve by also removing points. Next, add some new points to the curve,
and reshape it again. Note that when you make these changes, the sphere speeds up and slows down as it
traverses the path. This is based on the spacing of the curve points: the greater the distance between points,
the faster the object moves along that line segment. No matter what type of editing you perform on the line,
the object remains correctly attached to the path.
Now try editing the path curve while in animation recording mode. Select the curve and enter Edit mode. Set
the time slider to frame 0 and activate animation recording. Move to frame 30 and point edit the curve. Move to
frame 60 and adjust the curve some more. Continue editing the curve at frame 90, then deactivate animation
recording. You now have a sphere that moves along a morphing path.
Unattaching an object from a path
As you may guess at this point there are quite a number of ways, based on the relative position between the
object and the path, that you can set up a path animation. So what if you attach an object to a path, and you
do not like the result? You can easily unattach an object from a path with the Unmap tool.
Select the object and then the path. Then, from the Lattice Mapping tab, click the Unmap button. The object and
the path are no longer attached. You can now modify the positions of either object and connect the two again.
Note
You can also access the Unmap function from the main menu, Tools/Lattice Mapping/Unmap
Objects.
A swimming fish
This example demonstrates how to create swimming fishes, wriggling snakes and other effects where the
motion path should not only transform the object to be animated but also deform it.
1. Create a fish by using NURBS or subdivision tools. The only requirement for the fish is
that it contains a sufficient number of points so that the curve can deform it.
2. Create a NURBS curve representing the path.
3. Select the 'fish' and the 'path' (in this order). Then click the
Path tool. This time set the Target option to Points and click
Accept.
A freeform fish and a NURBS curve
Select Target=Points
Play the animation and the fish wriggles along the path. Keep this project open for use in the next section.
367