Game Development Community

Error of export from maya

by Kick Chen · in Artist Corner · 10/31/2007 (12:57 am) · 1 replies

Hi, folks

I have a problem exporting a testing animated model to dts file.

Here is a screen capture of the model nodes
http://www.sfu.ca/~hca15/tmp/pic/hyper.jpg

Below is what I wrote for the cfg file
"
AlwaysExport:
Eye
Cam
joint1
joint2
joint3
joint4
joint5
-Param::CollapseTransforms
"

After all, under the project directory, there is "OpenMayaErrorLog.txt" file being generated automatically. And here is what is in the txt file.
"API Error Log Opened Wednesday, October 31, 2007 12:04:18 AM
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Nothing to export.
API Error Log Opened Wednesday, October 31, 2007 12:04:51 AM
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Nothing to export.
API Error Log Opened Wednesday, October 31, 2007 12:34:56 AM
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Nothing to export.
API Error Log Opened Wednesday, October 31, 2007 12:35:14 AM
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Nothing to export.
API Error Log Opened Wednesday, October 31, 2007 12:35:16 AM
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode
Nothing to export.
"

I don't really know what happens there and how to fix it?

Thanks

About the author

Recent Threads


#1
11/08/2007 (3:55 am)
You haven't created the hierarchy properly, those tap_body, tap_left_eye and tap_right_eye meshes should all be embedded in the start01 bit, and the joints should be on the main level. I'd suggest just removing the joints and cam from the start01 bit, deleting base01 and start01 first.

Your main problem is that maya2DTS which i assume you're using wont export NURBS, so you need to convert them to polygons by selecting one then going Modify > Convert > NURBS to Polygons and then deleting the old NURBS. I'd recommend reading the maya2DTS guide first though, because you seem to be new at the whole maya exporting thing.

Then you need to add a number to the end of each mesh, so it should be tap_body100, tap_left_eye100 and tap_right_eye100. Then just select all your meshes, go to Edit > Delete all by Type > History (to remove the polySurface2 thing) and then in the dts Utility click Embed Shape. Next re-select all your polygons and click Register Details and it'll create a detail100 marker in the Hierarchy. Finally you need to make sure the meshes are triangulated (Select them and go Polygons > Triangulate) and then re-select them and press "Create Bounding Box".