Avatar Skeletal Animations

In IMVU, you have the power to create your own actions as products. This includes both Skeletal and Morph Animations. IMVU offers you the tools to take your Exported Animation file and sell it to IMVU users.

Note: This tutorial is about building Avatar SKELETAL animations which move the Avatar Body. If you want to learn about Avatar Morph Animations, ie - how to make the face move, please consult the Avatar Morph Animation tutorial.

For this tutorial we will be using 3DS MAX. The process described in this document is based on the Skeletal hierarchy used in the IMVU Avatars. Also, we will be using the Rigged Avatar MAX file, however, the basic concepts apply to any Avatar MAX file you use.

Retrieve the Idle Pose files

The first thing you need to do is get the Avatar MAX files. To learn more about which files you might want to download, please consult the Avatar Animation Files tutorial.

IMVU strongly recommends you use the Rigged Avatar file to create your Skeletal Animations.

Start 3DSMax and open the Rigged Avatar file. The Idle Pose MAX files are different from the Master Mesh MAX files for each Avatar so please verify that you are using an Idle Pose MAX file.

Idle Pose Contents

The Idle Pose MAX files give you an Avatar in the base pose that all of IMVU's Animations are built from. Starting from this Idle Pose is very beneficial for playing your Animation at run time in IMVU. By starting with this Pose, you avoid awkward and unsightly Animation Artifacts.

Rigged Avatar File

To find out how to use the Rigged Avatar File, please consult the Rigged Avatar File Tutorial.

How to Animate in MAX

To learn how to Animate anything in MAX, including Avatar Skeleton Bones, please consult the Animate In MAX Tutorial.

Root Node
The same Skeleton is used for both the Female and Male Avatar. This allows you to rapidly create Animations that apply to both Avatars.

Any Avatar Skeleton is made up of a series of 'Bones' and 'Nodes'. The Bones and Nodes are attached to one another in a hierarchical manner so that Bones further down in the hierarchy are effected when Bones higher up in the hierarchy are Animated. For example, if you rotate the Shoulder, you expect the Hand to move with the rest of the Arm instead of just sitting in the same spot in 3D space.

The Bone at the top of the hierarchy in any Skeleton is called the 'Root'. The name of the Root Node in the IMVU Avatar skeleton is 'Female03MasterRoot'. The position of the Root Node relative to the Avatar is very important.

Root Position

The Root Node is the Node that is attached to seats in IMVU. This means that your Avatar's position in a scene relies on its offset from the Root Node. If your Avatar has been positioned so that the Root Node is located near its chest, then the Avatar will appear halfway through the floor in IMVU. Therefore, it is important that you do not Animate the Root Node.

Animation Types

There are three types of Avatar Animations:

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

2. Stance Animations - 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 Bones 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.

Large Movements

When Animating for IMVU, it is important to understand that your Animation is more than likely going to be played within a window that is around 400x300 pixels large. This means that both your Skeletal and Morph Animations ought to be larger than life. You should make them more exaggerated than you normally would.

Seat offsets

In IMVU, you can play with the actual position of the Avatar making them Float, Stand on their head, Spin in place, etc. You can do this by Animating the Pelvis Bone and Foot Controllers.

Remember, though, that these Floating/Spinning/Flipping Animations are only possible if you do not Animate the Root Node.

Segmented Animations

You can Animate parts of the Avatar (as opposed to the whole Body) if you like. This allows your Animation to work on top of other Animations. For example, our initial Wave Animation only Animates the right Arm while leaving the rest of the Bones alone.

This means that whether the Avatar is Sitting or Standing or Dancing, the 'Wave' Animation will play and not Override the other animations of the Avatar. Later you will learn how to Export only the Bones you want. For now, though, remember that if you don't need it, don't Animate it.

Blend In / Blend Out

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

In order to avoid popping from an Idle Animation to your Animation or from your Animation to any Animation, it wise to start and end your Animation in the Idle Pose or close to it. You can play with Blend ins and outs later in the Editor. However, the effect of getting as close to the Idle Pose as possible during your fade out can not be ignored.

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 Editor to work properly in IMVU. Vogues are not required to be simple Poses. Think of it as a snapshot of an Avatar statue.

By Exporting this simple Pose, you guarantee that your Animation file size will be quite small. You should strive to make your file sizes as small as possible. Once you've gotten your Animation Exported, simply play with the blend in/out and loop duration functionalities in the Editor to get your animations the way you want them.

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 striking a Pose - which is quick to download as the file size is small.

The only drawback to using Vogues is the aesthetically unappealing look of linear translation. Linear translation means that since there are no interstitial frames between, say, the Idle Pose and your new “Eureka" Animation, the Bones will Animate in a line from where they are in the Idle Pose to where they end up in the Eureka Pose. Feet won't walk to position, they will slide. Arms sometimes slide right through the Avatar Body. However, IMVU has found that this simply doesn't matter to the end user.

File Size Budget

Please keep in mind that the more Nodes 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. Also, be discerning 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.

Pos/Ori Locking
To learn more about Locking the Position and Orientation of a bone in MAX, please consult the Orientation Tutorial.

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 consult the Catalog Snapshot Tutorial.


Once you have built your Animation, you must Export it as an .XAF file. .XAF is a Cal3D file format that is installed in MAX when you use the IMVU Unified Installer. .XAF files are what the Create Mode Editor recognizes as Animation files.

In order to Export your Animation file, select the Master Root Node ('Female03MasterRoot') and choose Export in the file menu. Scroll to the .xaf file format, name your file (remembering to manually type in the .xaf at the end of the name) and click Save.

In the Cal3D window that appears, you will be prompted to supply a Skeleton/.xsf file. Browse to the Skeleton file you want your Animation to work on. This must be the Skeleton of the Avatar you are Animating in MAX. The IMVU Avatar Skeleton is called Female04_Anime01_SkeletonMASTER.xsf and comes with the IMVU Unified Installer.

More on Segmented Animations

If you want, you can Export only portions of the Skeleton. For example, if you want to have the Avatar do a Wave Animation, you only have to Export the Bones affected in the Wave. Ie -the Clavicle, Shoulder, Arm and Hand. This approach frees the rest of the Skeleton to be driven by the Avatar Idle Animations (like changing posture while standing) and looks very natural.

There are two ways to choose a subset of the Bones in the Skeleton when Exporting.

1. You can simply check the boxes next to the Bones you actually want to Export. This means actually unchecking everything else in the list. To do so, you can click the uncheck all buttons and then go in and check the Bones you want to Export.

2. You can select the Bones you want to Export in MAX, choose to Export an .xaf file, and then click the Choose Selected button in the Skeleton hierarchy section of the exporter.

Step 3 of the Cal3D Animation Exporter is where you 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 xaf into a Create Mode Editor to make an Action. To learn how, please consult the Actions Tab Tutorial.

You are also ready to turn this Animation into a statue and merge it into a Furniture or Room file. To learn how, consult the Avatar Statue tutorial.
© 2018 IMVU All rights reserved