wiki.sine.space | sinespace

Difference between revisions of "Animation Production Workflow"

From wiki.sine.space
Jump to: navigation, search
(Created page with "==A zero-cost animation production workflow. This is FAIRLY EXPERIMENTAL, please do update if possible!== Animation production for Sine Space has been a bit of a neglected to...")
 
(A zero-cost animation production workflow. This is FAIRLY EXPERIMENTAL, please do update if possible!)
Line 1: Line 1:
==A zero-cost animation production workflow. This is FAIRLY EXPERIMENTAL, please do update if possible!==
+
==A zero-cost animation production workflow.
 +
This is FAIRLY EXPERIMENTAL, please do update if possible!==
  
 
Animation production for Sine Space has been a bit of a neglected topic. Here is a fresh end-to-end process and toolchain for getting animations/poses together for your furniture, vehicles, and etc.
 
Animation production for Sine Space has been a bit of a neglected topic. Here is a fresh end-to-end process and toolchain for getting animations/poses together for your furniture, vehicles, and etc.

Revision as of 14:32, 24 October 2017

==A zero-cost animation production workflow. This is FAIRLY EXPERIMENTAL, please do update if possible!==

Animation production for Sine Space has been a bit of a neglected topic. Here is a fresh end-to-end process and toolchain for getting animations/poses together for your furniture, vehicles, and etc.

The Toolchain and Process

1. QAvimator ([1])

This older opensource application does one thing and one thing only, and does it fairly well. It allows you to pose an avatar model for keyframes on a timeline, and output the resulting humanoid animation as both a proprietary file and as a mocap motion file (BVH). Version 0.1.1.426 on Windows 10 is being used in this workflow.

We wont get into how to use QAvimator; it is simple, and if you've ever made a paper flipbook and used a computer, you should not have a problem working out how to use QAvimator. One note though regarding storage: It'll try and save to the directory in 'Programs (x86)' where the executable lives. That's bad. That way lies madness. Make a data directory somewhere and use it.

2. Blender ([2])

Blender is exactly the opposite of QAvimator in scope; it does *everything*. Including provide for the production of animations. However, blender is a highly complex tool with a steep learning curve and a user interface made by aliens from alpha centauri, so we will use it only for converting from BVH to FBX. Blender version 2.78 is being used in this workflow. Doing so is fairly straightforward: Click 'File->Import->Motion Capture(.BVH)'. You should not need to tweak any settings here; just import it according to the defaults. Next, export it as FBX (File->Export->FBX(.fbx)).

If you've never used blender, pay careful attention to the file saving dialog, it's a bit different. I'd recommend fiddling with it a bit and gathering some confidence that my files were being saved.

3. Unity/Space

Finally, we're getting the animation into Space. This is where the important tweaks come into play. The process is not unlike that of importing any other FBX, excpet for a few notable ddifferences.

First, you'll want to click 'Assets->Import Asset...'. This will take you into the file selector dialog; browse to your data directory (you did make one and use it, yes?) and select the FBX version of your animation saved from blender in the previous step.

Your FBX is imported now, but there are various tweaks that need be applied to get it into a proper working state for Space. First, click the 'Rig' tab on the import properties pane. Set the anim type as 'Humanoid' and the root bone to 'Hip'. Click apply. The root bone selection will go away. On the 'Model' tab, untick 'Use File Scale'. Click the Apply button. You should be set; there will be a folder generated in your unity project's assets named after the file you imported. Within that will be the clip(s) (animations). These should be ready to use in your vehicle furniture sits or animation controllers in Space.

Good luck and happy animating! ANIMATE ALL THE THINGS!!