TomaszFurca Posted June 21, 2017 Share Posted June 21, 2017 HI i have problem with mesh exported by tower of babel. In skeleton animation, when played moving, i see artifact in my player mesh behind head. Rotation, location and scale have zero position. Check it on video: https://drive.google.com/file/d/0B9VobXUUD7rhTjZaN0RPbjJGOGs/view?usp=sharing Live preview in http://babylon.furcatomasz.pl Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted June 21, 2017 Share Posted June 21, 2017 Yeah, I am looking at problems with skeletons in my own scenes right now. Please also post your .log file. Will update as I find more. Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted June 21, 2017 Author Share Posted June 21, 2017 Warrior.log Exporter version: 5.3-beta, Blender version: 2.78 (sub 0) ========= Conversion from Blender to Babylon.js ========= Scene settings used: selected layers only: false flat shading entire scene: false inline textures: false texture directory: F:\xampp\htdocs\babel\Characters\Warrior\ Python World class constructor completed WARNING: No active camera has been assigned, or is not in a currently selected Blender layer processing begun of skeleton: metarig, id: 0 processing begun of bone: root, index: 0 processing begun of bone: heel.L, index: 1 processing begun of bone: foot.L, index: 2 processing begun of bone: heel.R, index: 3 processing begun of bone: foot.R, index: 4 processing begun of bone: hips, index: 5 processing begun of bone: spine, index: 6 processing begun of bone: chest, index: 7 processing begun of bone: neck, index: 8 processing begun of bone: head, index: 9 processing begun of bone: shoulder.L, index: 10 processing begun of bone: upper_arm.L, index: 11 processing begun of bone: forearm.L, index: 12 processing begun of bone: hand.L, index: 13 processing begun of bone: Finger_Bone1.L, index: 14 processing begun of bone: Finger_Bone2.L, index: 15 processing begun of bone: Finger_Bone3.L, index: 16 processing begun of bone: Finger_Bone4.L, index: 17 processing begun of bone: shield.bone, index: 18 processing begun of bone: shoulder.R, index: 19 processing begun of bone: upper_arm.R, index: 20 processing begun of bone: forearm.R, index: 21 processing begun of bone: hand.R, index: 22 processing begun of bone: Finger_Bone1.R, index: 23 processing begun of bone: Finger_Bone2.R, index: 24 processing begun of bone: weapon.bone, index: 25 processing begun of bone: Finger_Bone3.R, index: 26 processing begun of bone: Finger_Bone4.R, index: 27 processing begun of bone: thigh.L, index: 28 processing begun of bone: shin.L, index: 29 processing begun of bone: thigh.R, index: 30 processing begun of bone: shin.R, index: 31 processing action Attack: in[0 - 16], out[0 - 16] processing action Run: in[0 - 18], out[30 - 48] processing action stand: in[0 - 60], out[60 - 120] processing action Stand_with_weapon: in[0 - 62], out[130 - 192] processing begun of mesh: Warrior processing begun of Standard material: skin.002 Diffuse texture found "Texture" Image texture found, type: diffuseTexture, mapped using: "UVMap" num positions : 1258 num normals : 1258 num uvs : 2516 num uvs2 : 0 num colors : 0 num indices : 3222 Skeleton stats: Total Influencers: 3147 Avg # of influencers per vertex: 2.5016 Highest # of influencers observed: 7, num vertices with this: 1 exported as 7 influencers num skeletonWeights and skeletonIndices: 10064 ========= Writing of files started ========= ========= Writing of files completed ========= ========= end of processing ========= elapsed time: 0 min, 5.667 secs Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted June 23, 2017 Share Posted June 23, 2017 Update, I now know what the problem is. Tower of Babel has switched to packed matrix indexes like a .babylon file. They are now using the same code on Python side, but there must be something wrong with the unpacking code inserted into the generated code. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted June 23, 2017 Share Posted June 23, 2017 Pushed up a fix to exporter. My meshes with skeletons have no artifacts. Re-export, check, and mark this '[Solved]' if ok. TomaszFurca and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted June 24, 2017 Author Share Posted June 24, 2017 Ołłł ye! Now working great - https://drive.google.com/file/d/0B9VobXUUD7rhaElsV0M2Ri1rTmc/view :). Thanks a lot! 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.