yLacaute Posted March 3, 2018 Share Posted March 3, 2018 Hi, I am trying to import an animated character from mixamo.com but without success. I am a developer, not a 3D Designer so I don't really understand what happening ^^ I go on mixamo.com, select a character and an animation (walking) I check "in place" animation", export with ".dae" extension, 24 frames/s, uniform key frames reduction, with skin, and finally download the the character (zip), I import the .dae in Blender, then export it with the BabylonJS exporter I go an error in log : can't export because of armature I read I just have to ctrl+A in Blender then scale => indeed, after that, the export is working, but it breaks the animation If I continue, load the .babylon in babylon I see the character loaded, with textures But... animation make absurd things, the character is not "moving in place" but totally go away It is not a direct Babylon problem : the problem is this "ctrl +A > scale" that breaks the animation. My question is simple : after imported the .dae in Blender, what I have to do to export it correctly, with animation, in .babylon format ? My goal is just to load ANY animated character in BabylonJS, ideally, a character moving, jumping, and crouching. That could be another question : how to get many animations from mixamo in a single export ? I understood we then just have to select frame index and play the good animation. So, loading few times the same character for different animation seems not very smart ^^ Thank you for your help BitOfGold 1 Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 I have exactly the same problem here! Quote Link to comment Share on other sites More sharing options...
yLacaute Posted March 3, 2018 Author Share Posted March 3, 2018 There are some interesting related posts but I still don't get it, @BitOfGold if you success the import plz post here, I will do same BitOfGold 1 Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 Just one more thing: I'm looking for an ideal pipeline (workflow?) of making good quality animated (and non animated) characters that can be imported into babylon. And preferably with free or indie-pricerange tools. I'm still learning theese tools but I'm courious If someone can come up with a good , or better example of his/her workflow! So something like: - base mesh (in blender) - sculpting (blender) - retopology (blender) - UV mapping, skinning (blender) - Base texture baking (blender) - Texturing, material painting (Substance painter, pixel art in blender, or hand painted in Krita?) - auto rigging and animation (Mixamo) - LOD generation (Simplygon) - Importing into BABYLON. Preferaby .GLTF/.GLB or something PBR. The last part should be scaling and rotating into BABYLON coordinate system! (character should look into X+ direction and 1unit=1m high, character's origin should be at bottom, so foot on the ground) Any good ideas? Anyone has a good workflow? Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 Oh and one More thing Just a simple, "game jam" game can have 10-20 or more assets. So grouping them (and all LODs) into one file is a must. I was doing this with blender of course, but not PBR and not animated meshes. I made it possible to load textures from a zip file with JSZIP, but I don't know how to make this with .GLTF/.GLB or other file formats. Every loader is URL based. So we have a big problem space here Quote Link to comment Share on other sites More sharing options...
yLacaute Posted March 3, 2018 Author Share Posted March 3, 2018 Got it, after importing the .dae : hit the "n" key to open a panel properties select the armature and in the new displayed panel > transform : set x rotation to 0 (initially 90) set the scale to 1.0 (initially smaller) export in babylon, that's all BitOfGold 1 Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 And how to combine animations? Or should we make a "combiner" in BABYLON? I think it's doable, if the only difference is the bone matrixes, same bones same texture and everything. Or can Blender do this somehow? And blender does not export PBR. (Blender is not really PBR in 2.79) Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 Google gives this on the second page https://blender.stackexchange.com/questions/57758/bringing-in-multiple-animations-of-a-single-armature-to-be-used-for-one-animatio/57820 I don't know if this works, I hope so. Quote Link to comment Share on other sites More sharing options...
yLacaute Posted March 3, 2018 Author Share Posted March 3, 2018 Quote Google gives this on the second page https://blender.stackexchange.com/questions/57758/bringing-in-multiple-animations-of-a-single-armature-to-be-used-for-one-animatio/57820 I don't know if this works, I hope so. Yes it works !!! I just managed to import one babylon model, with 2 animations inside BitOfGold 1 Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 3, 2018 Share Posted March 3, 2018 Cool! good to hear, one step closer! yLacaute 1 Quote Link to comment Share on other sites More sharing options...
waverider Posted March 3, 2018 Share Posted March 3, 2018 Hy there @yLacaute I use this when fusing different animations to the mix amount model...go to the website and download just the armature of the next animation you want(let's say running.fbx)...import to the blender scene where you have your mixamo model(let's say idle.fbx)..make sure the armature of the model is in pose mode...then go to the dopesheet..open actions buillder, select running.fbx. copy the keyframes from running.fbx on the right. Select the armature for idle.fbx, then paste the keyframes on the same clip. Just before that, use the marker to space so as not to override previous animations Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 4, 2018 Share Posted March 4, 2018 On 3/3/2018 at 5:02 AM, BitOfGold said: And how to combine animations? Or should we make a "combiner" in BABYLON? I think it's doable, if the only difference is the bone matrixes, same bones same texture and everything. Or can Blender do this somehow? And blender does not export PBR. (Blender is not really PBR in 2.79) The Blender exporter will export multiple actions for a mesh or armature by default. As long as it is the only mesh being exported, there is nothing to do. Technically, the BJS supports one animation, so the exporter makes one big animation with gaps. You then start them using the BABYLON.Range's also exported. This also allows you to start by name, the same name as the Blender Action name. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2018 Share Posted March 5, 2018 Is someone interested to write a page for the doc about the pipeline used? This will be of interest for a lot of users Quote Link to comment Share on other sites More sharing options...
yLacaute Posted March 10, 2018 Author Share Posted March 10, 2018 @Deltakosh I could do that, but someone will have to check because I am new to babylonJS AND Blender Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted March 10, 2018 Share Posted March 10, 2018 I'm interested, but I have to make it at least one time, with one character successfully before writing a doc about it But I try to document the process with pictures. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Miad Posted January 14, 2019 Share Posted January 14, 2019 hi, does any body know a website like mixamo.com. I need more characters. thank you Quote Link to comment Share on other sites More sharing options...
Miad Posted January 14, 2019 Share Posted January 14, 2019 and I have a question too, I selected a character from mixamo with several animations. I know how to import a character and set an animation for it and export as babylonjs, but i don't know how to import multi animation in blender and export as babylon until i load the mesh with several skeleton. my question is, how to import a character and several animation to blender and export as babylon as multi skeleton result? thank you Quote Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2019 Share Posted January 22, 2019 We moved to a new forum: forum.babylonjs.com Quote 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.