BruceShatter Posted April 14, 2015 Share Posted April 14, 2015 Hello Leadwerks Forum, I'm new here and I am aware that animations in fbx have been discussed ( a lot ) before in several threads but all the topics I found are not directly related to my problem. Trying and testing around for two days now makes me feel that I won't find an answer by myself. I am using Softimage 2015 to create rigs and animations for models that I want to import to Leadwerks (3.4 Indie Version) . First I create a rig with bones for animating my mesh. Then I create a shadow rig (just null objects) and then envelope and weight the mesh to this shadow rig. After animating the bones I plot all transforms on the shadow rig (Every null has now a key with SRT on every Frame), remove my constrains and delete the original bones. The animation still works, the mesh follows the shadow rig. If I export this and open it in Modo or again in XSI, everything works just fine. However, when I import it to Leadwerks and open the model editor, I see the timeline and the hierarchy, but no animation is showing up. Here the FBX Export Settings. Is there a preferred Version or is the actual 7.4 okay? Does anyone have a clue whats going on? Am I missing something? I tried all versions and all kinds of different settings, nothing seems to work. There is always just the mdl with no applied transformations in the editor. I will appreciate any help. Thanks! Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 14, 2015 Author Share Posted April 14, 2015 I gave it another try with standard XSI man, bipded guide with shadow rig and same workflow as above. Well ... it somehow worked. I really have no idea. But the animations are there, somehow. Same FBX export settings as above ... Quote Link to comment Share on other sites More sharing options...
tjheldna Posted April 14, 2015 Share Posted April 14, 2015 I don't use Softimage, but maybe there are zero weights on those verts in question. In the other program maybe its auto assigning them to a bone. Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 15, 2015 Author Share Posted April 15, 2015 Hi, good idea but all vertices have weights, I checked that. What I find strange is that LW3 receives animations in the second case (the man) but not in my other tests (like the one I posted first). It's basically the same technique, exported with the same settings. Are there any known specifications the Leadwerks input needs? Quote Link to comment Share on other sites More sharing options...
Einlander Posted April 15, 2015 Share Posted April 15, 2015 Can you post a fbx/dae of your model you are having issues with? There are people in this forum that may be able to see what's wrong with it. Quote Link to comment Share on other sites More sharing options...
tjheldna Posted April 15, 2015 Share Posted April 15, 2015 Did you mirror any bones possibly? Yeah, if you post the fbx I could take a look. Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 15, 2015 Author Share Posted April 15, 2015 Hi, okay cool, I'll upload the models when I come home, thanks in advance. In the first setup I placed the bones by myself without mirroring, the second setup (the man) is just some automated Softimage process. I can't say what happens under the hood, but the rig doesn't have inverted scalings or something like this if you mean that. Is it possible to import Collada dae aswell? I thought LW just supports fbx for importing geometry. Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 15, 2015 Author Share Posted April 15, 2015 So, here we go: http://s000.tinyupload.com/?file_id=98428356472495770713 The zip includes two fbx files. It's the same model, slightly different shadow rigs with animations, both don't work for me in LW but open fine in MODO and Softimage. I really appreciate the help, getting my animated characters to Leadwerks is crucial for the personal project I started. Is there maybe another format that can be imported to LW or just fbx? Quote Link to comment Share on other sites More sharing options...
tjheldna Posted April 15, 2015 Share Posted April 15, 2015 I'm a fan of collada too, but no it's fbx, I'll take a look sometime today. Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 18, 2015 Author Share Posted April 18, 2015 With further investigation I managed to create one scenario which seems to work. (Sorry for all these ugly rigs and animations, they are just fast setups for testing the workflow. ) Unfortunately I can only achieve this with the standard Softimage man and the auto biped setup. I analysed this and tried to recreate with the exact same properties, values, export settings et cetera but nothing seems to work properly. LW just receives no animation with all the tests I did. I will try to find out what the important circumstances are that break the hole fbx workflow in Leadwerks, but I would appreciate any help, hint or user experience. I think its quiet strange that all of these work in other packages via fbx import but not in LW3. Thanks. Quote Link to comment Share on other sites More sharing options...
tjheldna Posted April 18, 2015 Share Posted April 18, 2015 I took a look at the wobbler02 file only and found your issue and I should have picked up on the issue quicker... In Leadwerks have you created material and assigned to the model? Then in the material to use an animated shader? The folder is Shaders\Model\Animated\ As soon as I did that it started animating in the model editor. Reading your first post again, I have never heard of the technique that you are using with a secondary rig, sounds more complicated than it needs to be, and could be opening yourself up to more issues, but whatever. There used to be a GREAT tool in the model editor to show the skeleton, but it has since been removed which I think is strange as it was a vital tool to check your skeleton for any import problems. This is a prime example where it would be useful. If this tool was there you would have seen that the skeleton was animating. Please Josh put the show skeleton option back in!! 1 Quote Link to comment Share on other sites More sharing options...
BruceShatter Posted April 18, 2015 Author Share Posted April 18, 2015 AAAHhhhhhhrgh!!!! Thanks for pointing that out! I read about this material thing but thought that this is only important for the scene, not the model editor. Stupid me, and if I think about it, the standard softimage man comes with an applied material that was imported into LW and made it work. How could I have missed that? I feel so stupid right now ... Thanks again, very kind! edit: I read this shadow rig thing is very common for exporting animations to game engines because Softimage has a very sophisticated rigging system which I think can not be exportet with fbx. But I will try if I could skip this to work with LW. That would indeed be more practical. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted April 18, 2015 Share Posted April 18, 2015 Reuniting shaders and dropping animated/non animated would be best. Any shaders would work with animated or static models, like other 3D engines and it would be less confusing for all new users. Just my two cents. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted April 18, 2015 Share Posted April 18, 2015 Yes, both fbx files are animating fine if assigned a material with an animated shader. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.