exporting cat animations

peyman

18-04-2007 11:13:35

Hi everyone;
i am an animator and i want to export cat animations to ogre engine with ofusion exporter but the exporter does`nt export animations and it reports some errors like this:



13:46:53: Creating resource group General
13:46:53: Creating resource group Internal
13:46:53: Creating resource group Autodetect
13:46:53: Registering ResourceManager for type Mesh
13:46:53: Registering ResourceManager for type Skeleton
13:46:53: Registering ResourceManager for type Material
13:46:53: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: Skeleton::createBone
Description: A bone with the name PantherBone0Bone0 already exists.
File: ..\src\OgreSkeleton.cpp
Line: 183
Stack unwinding: <<beginning of stack>>
13:46:53: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: Skeleton::getBone
Description: Bone named 'PantherNeck3' not found..
File: ..\src\OgreSkeleton.cpp
Line: 485
Stack unwinding: <<beginning of stack>>
13:46:53: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: Skeleton::getBone
Description: Bone named 'PantherSpine5' not found..
File: ..\src\OgreSkeleton.cpp
Line: 485
Stack unwinding: <<beginning of stack>>
13:46:53: An exception has been thrown!

-----------------------------------


and also it exports the catbones as mesh files and the bones are unknown for it.
thanks to everyone who want to solve my problem :D

Lioric

18-04-2007 16:59:32

CAT 1 and 2 animations are fully supported (including full support for the CAT Batch exporter tool)

Is this log from your application?
Could you post the log from the export process?

If you dont want the bones to be exported as meshes, hide them before exporting (and dont enable the "Export Hidden" option), or select the animated character and use the "Export Selected" menu entry

jwatte

18-04-2007 19:15:36

Do you have more than one bone with the same name? If so, try giving each bone a separate name.

peyman

23-04-2007 16:05:32

those errors was from bones who had same names.

there was some bones in the scene who named like some other bones i changed the names and errors like had gone:

06:59:33: Caught exception in GetSkinVertexData()


06:59:33: Please report it



from oexporter.txt



and


Error #: 7
Function: Skeleton::getBone
Description: Bone named 'PantherNeck3' not found..
File: ..\src\OgreSkeleton.cpp
Line: 485
Stack unwinding: <<beginning of stack>>
06:59:33: An exception has been thrown!


from ogre.txt

---------------------------------

and about exporting bones as meshes last time i had hidden bones by category in display panel (checking the boneobjects checkbox in display panel) but this time i hide bones by selecting them and using hide selected
and it nomore exports bones as meshes


Thanks to anyone who helped me to solve my problem :D