Game Development Community

Problems Exporting Maya 7.0

by Brian Forquer · in Artist Corner · 01/16/2010 (7:05 pm) · 2 replies

I am following the example in the maya2dts. I followed the example word for word multiple times and keep comming up with the same problem. When I export the sphere I get the following output: When I load the dts model and the texture in to torque builder it squawks and says there I am missing a texture with the exact texture name that I am importing. Also when I close Torque Builder and re-open it the model is there and when I import it in to a scene I see nothing except the move handles. Any one have and ideas? I posted the output files dump.dmp and OpenMayaErrorLog.txt below.

dump.dmp contains:

Setting up for full export (dts) -- turning on optimized meshes
Config file "C:/Projects/Torque Project/Sphere/scenes/sphere.cfg" not found.

Config file "C:/Projects/Torque Project/Sphere/scenes/sphere.cfg" not found.

Config file "C:/Projects/Torque Project/Sphere/scenes/dtsScene.cfg" not found.
First pass: enumerate scene...

Processing Node groundPlane_transform with parent world
Found subtree starting at Node "groundPlane_transform"
Processing Node ViewCompass with parent world
Found subtree starting at Node "ViewCompass"
Processing Node UniversalManip with parent world
Found subtree starting at Node "UniversalManip"
Processing Node persp with parent world
Found subtree starting at Node "persp"
Processing Node top with parent world
Found subtree starting at Node "top"
Processing Node front with parent world
Found subtree starting at Node "front"
Processing Node side with parent world
Found subtree starting at Node "side"
Processing Node UniversalManip1 with parent world
Found subtree starting at Node "UniversalManip1"
Processing Node bounds with parent world
Bounding box found
Processing Node base01 with parent world
Found subtree starting at Node "base01"
Processing Node groundPlane with parent groundPlane_transform
Processing Node perspShape with parent persp
Processing Node topShape with parent top
Processing Node frontShape with parent front
Processing Node sideShape with parent side
Processing Node start01 with parent base01
Processing Node detail2 with parent base01
Processing Node sphere2 with parent start01

Second pass: put shape structure together...

Adding detail named "detail2" of size 2 to subtree "base01".
Adding node "base01" with parent "base01" to subtree rooted on node "base01".
Adding node "start01" with parent "base01" to subtree rooted on node "base01".
Adding node "sphere2" with parent "start01" to subtree rooted on node "base01".
Attaching object to node.
Adding object named "sphere".
Adding mesh of size 2 to object "sphere".

Third pass: Collapsing unneeded nodes...

Removing node "base01"
Removing node "start01"

Add default object states...

Adding object state to 1 detail level(s) of mesh "sphere".
Adding frame.
Object is visible.
Object offset transform for mesh dl=0:
scale: x=1.00000, y=1.00000, z=1.00000
stretch rotation: x=0.00000, y=0.00000, z=0.00000, w=1.00000
translation: x=0.00000, y=0.00000, z=0.00000
actual rotation: x=0.00000, y=0.00000, z=0.00000, w=1.00000
---------------------------------

Add default node states...

Adding node rotation at time 0.000000 for node "sphere2".
rotation: x=0.70711, y=0.00000, z=0.00000, w=0.70711
---------------------------------
Adding node translation at time 0.000000 for node "sphere2".
translation: x=-0.00000, y=0.00000, z=1.00000
---------------------------------

Adding 0 sequences...


Optimizing meshes...

Optimizing mesh "sphere" detail level 2.
287 verts before joining verts
287 verts after joining verts
480 faces before stripping
Using Quick, dirty, & ugly stripping method.
32 strips with average length 17.13 (range 4 to 30) and 4 reversals

Shape Hierarchy:

Details:
detail2, Subtree 0, objectDetail 0, size 2

Subtrees:
Subtree 0
sphere2 --> Object sphere with following details: 2

Sequences:

Material list:
material #0: "simpleTexture.png".


OpenMayaErrorLog.txt:
API Error Log Opened Saturday, January 16, 2010 04:56:29 PM
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: setObject
Class: MFnReflectShader
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: setObject
Class: MFnReflectShader
Object is incompatible with this method
Method: findPlug
Class: MFnDagNode

About the author

Recent Threads


#1
01/16/2010 (7:30 pm)
Also in Torque ShowTool Pro the item loads and the texture is there it only fails in Torque X Builder 3D.
#2
01/16/2010 (7:38 pm)
Well I guess it works even in game, only fails in the builder.