Flipbooking
Flipbooking is another name for frame-by-frame animation. Draw a sequence of frames of animation and staple them together in a little booklet; flip through it quickly, and it looks like it's moving.In YG, a flipbook is the same idea, but uses 3D models instead of 2D images. The flipbook is particularly used for animations which change the shape of an object, as opposed to its position. To make one, you first create an animation in Maya using whatever techniques you like - skinning, IK, dynamics, soft bodies, deformers, etc - then export all the frames of the animation as individual objects. When exporting, give them names with numbers on the end, like frame1.b3d to frame60.b3d.
Here's how to use the flipbook:
flipbook (duration(1.0),start)
{
object(file("frame1.b3d"))
object(file("frame2.b3d"))
object(file("frame3.b3d"))
object(file("frame4.b3d"))
object(file("frame5.b3d"))
object(file("frame6.b3d"))
object(file("frame7.b3d"))
object(file("frame8.b3d"))
object(file("frame9.b3d"))
object(file("frame10.b3d"))
object(file("frame11.b3d"))
object(file("frame12.b3d"))
}
duration is the length of the time for the flipbook, in seconds.
start tells the flipbook to start.
The flipbook just flips between all of its children. It loops automatically. If you don't send
the start message, the flipbook stays on its first child.
Starting a Flipbook from a Trigger
wandTrigger (when(button1,myflipbook.start))
flipbook myflipbook (duration(1.0))
{
object(file("frame1.b3d"))
object(file("frame2.b3d"))
.. etc ...
}
(c) Ben Chang