Trouble exporting skinned animation from maya

This topic contains 25 replies, has 8 voices, and was last updated by  edolive 6 years ago.

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #29677

    phmaho
    Member

    Hello,

    I have trouble exporting any kind of skinned animation file for matrix palette skinning (using maya 2008):

    No matter what settings I tried, the animation won’t work properly. Most of the time it seems that the bone assignment/weighting is not working at all.

    The animation looks like if there would just be a simple rotation for the whole model going on.
    (Export skin modifiers, export controllers and export matrices are all checked)

    The example .pod file from the matrix palette skinning example (the mallet) animates perfectly fine.
    But even the most simple skinned animation that I export doesn’t animate the way it should.

    Is there anything special to be aware of when exporting a skinned mesh with bones .pod file from maya?

    Best regards,
    Phil

    #32647

    Scott
    Moderator

    Hi,

     

    One special thing to be aware of when exporting a skinned mesh is that .pod only supports a maximum of 4 bone influences per vertex. So it’s worth checking this is the case with your scene. If this is fine or changing it doesn’t fix your problem would it be possible for you to send your scene to devtech@imgtec.com so we could take a look.

     

    Thanks,

     

    Scott

     
    #32648

    Rickard
    Member

    Hello,

    I’m experienceing the exact same problems as phmaho. I’ve tried setting “max bone influences” to 3, but the problem still remains.

    I’ve sent you my scene to devtech@imgtec.com

    Thanks,

    Rickard

    #32649

    Scott
    Moderator

    Hi,

     

    I’ve had a look at your scene and was able to export it successfully. The options that affect the export of skinned animations were set as follows

    • Export controllers was enabled.
    • Export skin modifiers was enabled with max simultaneous matrices set to 9.
    • In the vertex vector formats options I had bone indices set to unsigned byte and bone weights set to float.

    If you have any problems when using these settings send us your .pod file and we’ll take a look.

    Thanks,

     

    Scott
    #32650

    Rickard
    Member

    Hi,

    Thanks for your answer.

    Unfortunately, the results were still the same. The animation is there, but it almost looks like the entire mesh is skinned to the root joint, as the whole mesh is spinning around instead of bending.

    I’ve sent you my .pod file and a screen of the settings I used.

    By the way, do you have any idea of when we can expect a new version of the PVRShaman? I read here on the forum that it’s going to support viewing of skinned meshes.

    Thanks,

    Rickard

    Rickard2009-02-10 08:48:40

    #32651

    Scott
    Moderator

    Hi,

     

    The .pod file you sent works fine for me in PVRShaman. What are you using for testing it?

     

    You are correct the next version of PVRShaman will support the viewing of skinned meshes and it should be released by the end of the month.

     

    Thanks,

     

    Scott
    #32652

    Rickard
    Member

    Hi,

    We’re testing it by loading it into the “MatrixPalette” example. The mallet example .pod animates perfectly fine, but as mentioned above, our mesh is spinning around instead of bending.

    Thanks,

    Rickard

    #32653

    Rickard
    Member

    Hi,

    We’ve managed to solve the problem. The key was to animate every single translation,rotation and scale value for all the joints, and to leave the “export matrices setting” unchecked.

    Still weird though, that you need to animate all values for the Maya exporter to work.

    Thanks,

    Rickard

    #32654

    Scott
    Moderator
    Hi,

     

    It’s very weird. I tried the .pod file you supplied in MatrixPalette and the animation was correct. Have you made any modifications to the MatrixPalette example (I only changed the camera settings)? Which platform were you running it on?

     

    Thanks,

     

    Scott
    #32655

    Rickard
    Member

    Hi,

    We’re using the MatrixPalette example ported by Oolong Engine. No other modifications has been done in the code. We’re running the example in the iPhone simulator.

    Regards,

    Rickard

    #32656

    phmaho
    Member

    Hello,

    I could resolve all animation problems using the settings and suggestions posted in this thread. Thank you very much.

    One important thing I want to add is that matrix palette skinning does not work correctly within the iPhone simulator. But if exported properly, it works fine on the actual device.

    P.S. Sorry for my long absence from this thread (we just had to switch to different creation tools in our artistic pipeline), and I just came back to do some animation export recently.

    #32657

    skumancer
    Member

    Hello,

    I’m trying to get animations to export correctly and play them using the latest distribution of PVRShaman which supports skinned animations.

    My models are exporter but when animated, they look like 3 models were in the scene and the animation is totally screwed up.

    Any help would be greatly appreciated!! I can sen you the maya and pod files I’m using so you can check them!

    – Ricardo

    #32658

    Scott
    Moderator
    skumancer wrote:
    My models are exporter but when animated, they look like 3 models were in the scene and the animation is totally screwed up.

    Any help would be greatly appreciated!! I can sen you the maya and pod files I’m using so you can check them!

    – Ricardo

     

    Hi,

     

    Could you send your files to devtech@imgtec.com  please and we’ll take a look.

     

    Cheers,

     

    Scott
    #32659

    skumancer
    Member

    Awesome! I just sent you the files. Keep me posted!

    – Ricardo

    #32660

    skumancer
    Member

    I sent you the files. Thanks a lot for the help!!

Viewing 15 posts - 1 through 15 (of 26 total)
You must be logged in to reply to this topic.