Hello everyone.
I have just discovered Urho3D and I am very impressed with it. As a quick test, I have tried to convert one animated mesh using AssetImporter, but animations don’t work. It is this model file:
https://dl.dropboxusercontent.com/u/502828/swat_walk.zip
I am exporting it using:
AssetImporter model swat_walk.3ds swat.mdl
I get the following output from the console:
Reading file swat_walk.3ds
Writing model <3DSRoot>
Writing geometry 0 with 31 vertices 150 indices
Writing geometry 1 with 55 vertices 258 indices
Writing geometry 2 with 40 vertices 168 indices
Writing geometry 3 with 22 vertices 96 indices
Writing geometry 4 with 18 vertices 72 indices
Writing geometry 5 with 212 vertices 408 indices
Writing geometry 6 with 40 vertices 168 indices
Writing geometry 7 with 22 vertices 96 indices
Writing geometry 8 with 18 vertices 72 indices
Writing geometry 9 with 16 vertices 60 indices
Writing geometry 10 with 58 vertices 252 indices
Writing geometry 11 with 42 vertices 234 indices
Writing geometry 12 with 22 vertices 120 indices
Writing geometry 13 with 31 vertices 144 indices
Writing geometry 14 with 38 vertices 168 indices
Writing geometry 15 with 27 vertices 84 indices
Writing geometry 16 with 31 vertices 144 indices
Writing geometry 17 with 38 vertices 168 indices
Writing geometry 18 with 27 vertices 84 indices
Writing animation 3DSMasterAnim length 0.00520833
Warning: differing amounts of channel keyframes, skipping animation track Waist
Writing material Material #1
Copying material texture SWAT.BMP
The file “swat.mdl” and an animation file “swat_3DSMasterAnim.ani” are created (together with the material and texture files), but when I modify the 06_SkeletalAnimation example to use this animated model instead of the Jack one, I get a black screen with the logo on the corner. I can see the static model correctly if I comment out the part of the script where it attaches the AnimationState.
Do the animations need to have a special format?
Thank you very much in advance.