OSM + Animation Issue

Markness

15-09-2006 01:59:20

Hey all, Im after some information regarding animations on individual objects within an OSM scene.

Basically all I am trying to do is put an animation on a door and export the whole scene at once.

Ive tried a bunch of things with the exporting animation options but always get the same result.

The 'oExporter.log' comes up with no errors but in the 'ogre.log' I get the following;


10:53:39: Skeleton: Loading ENV_DYNAMIC_CitadelDoor2_test_mesh.skeleton
10:53:39: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource ENV_DYNAMIC_CitadelDoor2_test_mesh.skeleton in resource group General or any other group..
File: ..\src\OgreResourceGroupManager.cpp
Line: 583
Stack unwinding: <<beginning of stack>>
10:53:39: Unable to load skeleton ENV_DYNAMIC_CitadelDoor2_test_mesh.skeleton for Mesh ENV_DYNAMIC_CitadelDoor2_test_mesh. This Mesh will not be animated. You can ignore this message if you are using an offline tool.
10:53:39: Exporting bones..
10:53:39: Bones exported.
10:53:39: Exporting animations, count=4
10:53:39: Exporting animation: CitDoor1_CloseBack
10:53:39: Animation exported.
10:53:39: Exporting animation: CitDoor1_CloseFront
10:53:39: Animation exported.
10:53:39: Exporting animation: CitDoor1_OpenBack
10:53:39: Animation exported.
10:53:39: Exporting animation: CitDoor1_OpenFront
10:53:39: Animation exported.
10:53:39: WARNING: Mesh instance 'ENV_DYNAMIC_CitadelDoor2_test_mesh' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
10:53:39: MeshSerializer writing mesh data to ENV_DYNAMIC_CitadelDoor2_test.mesh...


Any suggestions?

Lioric

15-09-2006 02:58:11

And what is the result? the exported scene works in your application?

Is the scene correctly in the preview viewport?

Markness

15-09-2006 04:00:26

The animations dont work, if i attempt to load the mesh into OGRE, i get the following error message;


An exception has been thrown!


------------------------------------
Details:
------------------------------------
Error #:9
Function: MeshSerializerImpl:readGeometoryVertexBuffer
Description: Buffer vertex size does not agree with vertex declaration.

Lioric

15-09-2006 16:50:16

Is the scene animation working in the preview viewport?

What Ogre version do you use in your application?

Markness

18-09-2006 03:39:03

We're using Dagon 1.2.0

Because we're only trying to animate a door, there is only 1 bone - is there some kind of required number of bones?

There was another post made with this error but it was not solved either :(

Lioric

18-09-2006 16:05:32

As you dont answer the previous question (made for the second time), it would be better if you send me the scene or a similar test scene where this issue can be reproduced