Furniture Morph Animations

This tutorial is about building MORPH Animations for Room or Furniture products. That means it is about making changes to the shape of a Mesh over time. If you want to learn more about Room or Furniture Skeletal Animations, ie - how to make the Bones move, please consult the Animating Rooms and Furniture Tutorial.

For the purposes of this tutorial, we will be using 3DS MAX.

Teched and Ready

In order to create a Morph Animation, you need to start with a file that is properly set to allow you to Animate it. This means that the Parent Mesh has a Morpher modifier applied to it and that Morph Target channels live within that Modifier. To see if your file is properly Teched for Morph Animation, click on the Mesh and look for the Morpher modifier underneath the Weighting modifier. If you don't see it - the file is not prepared for Morph Animation.


To learn how to properly prepare a file for Morph Animation, please consult the Morph Target Tutorial.

If you do see the Morpher modifier as well as Morph Targets in the Channel List, then you're ready to go.

Basic Animation

Always make a quick Animation to verify that the Mesh and Morphs Animate nicely together. If they do, then you can go ahead with your Animation. If they don't, then there is no doubt a glitch in MAX. So, restart and try again - this usually resolves the issue.


To learn more about how to make a simple Animation, please consult the Animate In Max Tutorial.

To make a quick Morph Animation, follow these steps: 1. Click the Mesh
2. Click on the Morpher modifier in the stack - make sure that the Channel List is visible
3. Enter Animation Mode by clicking the 'Auto Key' button on the bottom
4. Drag the Animation slider to the middle of the time bar
5. Drag the Morph Target slider to 100%
6. Drag the Animation slider to the end of the time bar
7. Drag the Morph Target slider to 0%
8. Exit Animation Mode by de-pressing the 'Auto Key' button
9. Click the 'Play' button and watch how the Morph behaves


Auto Key is IMPORTANT

While this can be useful for making Vogues (referred to below), it is easy to forget whether you are in Animation Mode or not.


Action Types

There are three types of Avatar Actions:


1. Idle Actions - these Actions play Animations continuously. They are meant to be interrupted by the other types of Animations.

2. Stance Actions - these are Animations Triggered by the joining of a Seat. They are closely related to Idles in that they play continuously once the Seat has been joined.

3. Triggered animations - these Animations are played when activated by a Trigger word like 'Wave'. They usually replace the Morph channels being used in the Idle Animation. Knowing how an Animation is going to be used in IMVU *before* you build it helps you build the right kind of Animation and helps reduce iteration time.


Morph Naming Convention

The Morph Targets have a Naming Convention that dictates what kind of Morph they are. This Naming Convention must be used or your Morphs will not play back in IMVU. An example of a properly named Morph Target is leftBlink.Clamped where the .Clamped suffix is the Morph type. The prefix of the name can be anything you like. Here is a breakdown of what the four Morph types are and what they mean:


.Clamped - Allows multiple Morph Animations to affect the channel but clamps the sum of their effects to 100%
.Averaged - Allows multiple Morph Animations to affect the channel, averages the result.
.Exclusive - Allows only one Morph Animation (the most recent one applied) to affect the channel, no cap on value (i.e. allows values greater than 100%)
.Additive - Allows multiple Animations to affect the channel, values are added together.

Blend In / Blend Out

Although this section focuses on a feature found in the Previewer, it is important to keep in mind while building your Animation.


As discussed below, the frame controls in the Previewer allow you to loop your Animations. However, they also allow you to Blend whatever Animation is playing into your Animation. This is very handy for Morph Animations as a non-Blended jump from one Morph Animation to another can leave unpleasant artifacts for a few frames.

Vogue Animations

Vogues are single frame or low frame Animations that have very small file sizes. These Animations rely on the Blend in/out functionality of the Previewer to work properly in IMVU. Now, by no means are Vogues required to be simple expressions - but, regardless of the expression you are making, it is still just an expression. Think of it as a snapshot of an Avatar Statue's face.


By Exporting this simple Morph Animation, you guarantee that your Animation file size will be quite small. You should want your file sizes to be as small as possible. Once you've gotten your Animation Exported, simply play with the Blend in/out and loop duration functionalities in the Previewer to get your Action product just right.

You can loop a 2 frame Animation for 30 frames and (at 30 frames per second) end up with a 2 second animation of your Avatar's Facial Animation.

The only drawback to using Vogues is the aesthetically unappealing look of linear translation. However, this is more of a Skeletal Animation issue. Using Vogues for Morph Animations is always OK.

File Size Budget

By doing Vogues you keep your overall Animation size down. Please keep in mind that the more Morph Targets you Animate and longer the duration of your Animation, the larger your Action product is going to be.


The larger your file, the longer it is going to take to load during a conversation. Please be as discerning as you can about where you spend your Animation budget. We want you to be successful and it will be hard to be successful if your products take too long to download.

Catalog Snapshot

If you are creating an Animation as a final product, please remember to take a 100x80 pixel Catalog snapshot. To learn more about Catalog snapshots, please catalog snapshot tutorial.


Export

Once you have built your Animation, you must Export it as an .XPF file. .XPF is a Cal3D file format that is installed in MAX when you install the Previewer. .XPF files are what the IMVU Previewer recognizes as Morph Animation files.


In order to Export your Morph Animation file, select the Parent Head Mesh. In the case of the Female04_Anime01_IdleStandingPoseMASTER.max, the Head Mesh is called 'female01.Anime01.Head'. In the case of Male03_Anime01_IdleStandingPoseMASTER.max, the Head Mesh is called 'AnimeHead.Male01'. With the Head Mesh selected, choose Export in the file menu. Scroll to the .xpf file format, name your file (remembering to manually type in the .xpf at the end of the name) and click Save.

In the Cal3D window that appears, verify the actual time values of the Animation. Although they are almost always exactly the numbers they need to be, you should still check that the Start and End Frame numbers match what you intended to Export, and make sure the frames per second is set to 30. Click finish. Animation file: EXPORTED!

What's Next?

Now you're ready to bring your xpf into the Previewer to make an Action. To learn how, please consult the Previewer - Actions Tab Tutorial.

© 2017 IMVU All rights reserved