paul.w Posted May 13, 2014 Share Posted May 13, 2014 Editor will not allow to add animation file :(So its not playing :(Why is this happening!ThanksPaulThe other image says can't find bones in animation but it work fine in Mesh Viewer - what is going wrong!Animation file attached :https://www.dropbox.com/s/hdyyq4p2ou8psby/anim.zip It works in Mesh Viewer: Link to comment
sebastianbah Posted May 13, 2014 Share Posted May 13, 2014 Hello,I'm afraid that names of bones are different in *.smesh and *.sanim file you've send.So it is not working in MeshViewer the same way.Check the following steps: - Load mesh: load *.smesh - Load mesh: select Animation only and load *.sanim If you have some problems with animation export from 3D Editors, you can save animation from MeshViewer. You can find some instruction in this forum topic. Link to comment
paul.w Posted May 13, 2014 Author Share Posted May 13, 2014 Why does it play in my Mesh Viewer ? Link to comment
sebastianbah Posted May 13, 2014 Share Posted May 13, 2014 It plays animation from *.smesh file. Link to comment
paul.w Posted May 13, 2014 Author Share Posted May 13, 2014 But you need both (.smesh and .sanim) for the engine ? Link to comment
sebastianbah Posted May 13, 2014 Share Posted May 13, 2014 You could use animation from *.smesh file only, if you don't need to combine or change animation. More information about animation in Unigine here in docs.Also you can find some useful tips in tutorials Link to comment
nrenard Posted August 17, 2015 Share Posted August 17, 2015 Hi !I have the same "can't find bones" problem.I'm working with CAT Rig. Maybe CAT Rigs are the problem ?The .anim has got all the right bones, but it can't be read in Unigine. I have added a right root bone. Everything is correctly linked and parented.I hope you can help me !Thank'sNicolas Link to comment
silent Posted August 17, 2015 Share Posted August 17, 2015 Hi Nicolas, Could you please send us problematic *.anim + *.mesh files? We will try to find out what is happening. Also, if you could send an original model as well it would be really helpful. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
nrenard Posted August 18, 2015 Share Posted August 18, 2015 Hi !Here are the *.anim and *.mesh files :https://www.dropbox.com/s/5b27uyqw3f1m6w1/Agent_Walk.anim?dl=0https://www.dropbox.com/s/g8urf7q9qk3skn8/Agent_Mesh.mesh?dl=0You are talking about original model, do you mean you need an *.obj ?Thank you ! Link to comment
silent Posted August 18, 2015 Share Posted August 18, 2015 Hi Nicolas, *.obj files are not designed to have a skinning geometry (only static geometry without bones is supported). So, I'm afraid it is not possible to make a skinned geometry from *.obj file. I've also checked your *.mesh file - it doesn't contain any bones (just load the model in ResourceEditor and you will see it). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
nrenard Posted August 18, 2015 Share Posted August 18, 2015 I don't think the *.mesh file need to contain any bones. No doubt the problem is coming from the *.anim.But I can't find how to resolve this problem. My file is just the same as the agent example ! Link to comment
silent Posted August 18, 2015 Share Posted August 18, 2015 Hi Nicolas, I'm afraid, skinned geometry should contain bones (so called skin controller or skin clusters). Your file is not the same that included in <SDK>/data/samples/animation/meshes directory and it could not be used for animation because it contains only static geometry and engine handle such file as a static mesh. How to export skinned geometry from 3ds Max or Maya you can find in our documentation: https://developer.unigine.com/en/docs/1.0/tutorials/add_animated_object/ https://developer.unigine.com/en/docs/1.0/tools/plugins/3dsmax/ https://developer.unigine.com/en/docs/1.0/tools/plugins/maya/ Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
nrenard Posted August 18, 2015 Share Posted August 18, 2015 Sadly, I tried with a skinned geometry containing bones, same problem here. https://www.dropbox.com/s/8tua4qb9ldkfgap/Agent_Mesh_withbones.mesh?dl=0 Link to comment
silent Posted August 18, 2015 Share Posted August 18, 2015 Hi Nicolas, It is because bones names inside *.anim file are different from *.mesh file. You can check names in ResourceEditor. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
nrenard Posted August 18, 2015 Share Posted August 18, 2015 Hum. I'm gonna try this.Thanks ! Link to comment
nrenard Posted August 18, 2015 Share Posted August 18, 2015 Everything is working !Thank you very much ! Link to comment
Recommended Posts