Game Development Community

Problem exporting animation file Maya2dts

by pixeldruid · in Artist Corner · 10/14/2008 (12:13 am) · 2 replies

Hi!
I've to export a bridge model with animation. There are 3 meshes in the model. When I export the model and animation, there is only one mesh visible in the Showtool Pro. How to export an animated model containing more than one mesh? Is there any tutorial for this? I've listed the contents of my config file below:

AlwaysExport:
root
col_2
col_1
polySurface1
polySurface8
polySurface9
start
joint1
joint2
joint3
bounds
Sequence_open
Sequence_close
-Param::CollapseTransforms

Out of the three meshes only polySurface9 alone visible? How to make all the meshes appear in the showtool? Does any corrections needed for the above config file?

#1
10/14/2008 (6:01 pm)
Sounds like your model needs to be setup right ...With out seeing it looks to be naming issue with mesh/detals
nodes...
#2
10/14/2008 (7:57 pm)
Ok.. hopefully this helps.

First.. are all the meshes bound to the bones.. if so they should all be outside of the base node. If not, only the meshes bound to the bones should be outside the base node, the others should be under the base node.

If that doesn't fix it. You have numbers after each mesh. Does each mesh have a detail registration node? If so.. the numbers you have are very low, and close together. So close that it would be dificult to see the difference in the LOD.

Did you check the export log to see what got included in the .dts? it should show all the LODs and meshes as well as all the bones that got included.

Finally. If you create a Config file for export. Make sure you save it as a Unix encoded UTF8 text file. Otherwise Maya won't pay attention to it. You can see this when you export with a config but it doesn't find it even though you have one and its named correctly. Also make sure the config file is named the same name as the maya file and exists in the same folder.

You have the -Param Collapse transforms in there. I've never needed this. Is there a reason for it in your file?

You don't need the start in the Always export either. At least its never exported with my .dts files.

the following links all show valid node setups similar to your scene.

www.colins-loft.net/free/examples/option1.jpg
www.colins-loft.net/free/examples/Option2.jpg
www.colins-loft.net/free/examples/Option3.jpg



C