Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog
Main Page About Help FAQ Special pages Log in

Cheetah3D to ShiVa

From ShiVa Wiki

Contents

General Hints

Cheetah3D is an openGL modeller, so the y axis points up. Export is only possible through fbx, so use either the Autodesk Converter (free, recommended) or Ultimate Unwrap3D (advanced features, windows only, comes with a price tag) to make your fbx files into collada DAE.

Exporting animated characters with multiple subsets

ShiVa expects your model to be set up in a specific way to function properly within shiVa. as long as you use a simple model with only one mesh and one texture/material, everything works out of the box (#YouTube_Video below). But as soon as you work on different models that shall become one object in the end, it gets difficult. So should you stop making separate boots and hands and heads for your characters? No. You can add a simple in-between step with wings3D that gets rid most of your problems.

The Goal

ShiVa expects the model to be one single mesh with subsets, rather than a group of meshes with only one material per sub-object. This cube is set up properly, note the two material tags:

C3dcube.png

The segmented model

Assuming you have worked on your character as i did, you made separate hands, legs, heads, hair section, accessoirs like the gas mask and so on. The setup would look like this:

C3drig separate.png

How it looks in ShiVa

Now you could rig your model and export it. it would look fine in ShiVa at first glance...

C3dShiVasegments1.png

...but your model would have been imported as group, each segment would be selectable individually and have displaced bones...

C3dShiVasegments2.png

C3dShiVasegments3.png

which leads to very poor animation.

C3dShiVasegments5.png

This is not fixable in ShiVa, we have to go back to c3d.

The Wings3d Combiner

Wings3D has the neat capability to combine objects without touching their UV configuration, unlike boolean operations in other modellers. So it is really easy to make the model segments into one, like so:

C3dsegmentsWings1.png

C3dsegmentsWings2.png

Rigging after Wings3D

You could do the rigging back in C3D. Now, we have merely one object with several material tags, this is exactly the setup we want. The current C3D editions have a very neat heat-based weight map algorithm, which allows you to drag and drop your bone structure onto the model without much thought.

C3dshivacombined.png

Export to ShiVa

Back in ShiVa, our model is all one group with subsets, like it should be, and animates just fine.

C3dshivaanimated1.png

C3dshivaanimated2.png

Materials

You very likely have to import your textures manually. But UV and material information are retained, so you will be able to open the material you assigned in c3d and drop in the missing texture files, and you are good to go.

C3dShiVasegments4.png

YouTube Video

This video shows the export process for a simple rigged model with textures.

Watch the video on YouTube.

Credits

user broozar


Retrieved from "http://www.stonetrip.com/developer/wiki/index.php?title=Cheetah3D_to_ShiVa"

This page has been accessed 2,704 times. This page was last modified on 27 February 2011, at 11:04.