tobi-be/BlenderEdmExporter

Export skinnodes problems

FredStoned opened this issue · 4 comments

Hi Tobi....I been using your plugin with Blender and got good results.... have several planes exported to DCS and working well. EXCELLENT work!!

I have recently tried modelling some "animal" mods in Blender for the game .... followed your instructions to export skinnodes to EDM, but constantly get error message "too much weights per vertex.... limit to 4"........ ....... ...... tried numerous ways to get it to work but same error.... "I HAVE limited weights to 4 !!!!" ..... ANYWAYs..... last night a adjusted something.... (so many things!"!~~) and it kinda started working..... I get a very distorted animation and mesh in EDM model viewer.

Problem is that I cannot replicate what I did and cant get it to work properly again....So..... it will export the model but not the animations...... or not work at all in model viewer...... or.... or...etc etc...

Please could you explain in fuller detail how to export skin modes....... there are so many variables and I cant work out which plays a role in the skinnodes export...... Hope you can help......

Hi Fredstone, did you follow the steps in the readme? The 4 weights problem comes from the fact that in DCS every vertex can be bound to maximal 4 bones (have 4 weights). So you have to limit the number of weights to 4 in Blender. You can use the Limit total- function in weightpaint view under weights after you used the parent with automatic weights function but you may have to adjust some weight painting. May be there is a good tutorial for a best practice with using only 4 weights. We have to accept this.

Important settings:

  1. Apply transformations to the mesh and the armature object.
  2. Set the rootbone to none deforming.
  3. You can try to delete all vertex groups before you use the automatic weights function.

Here is a very simple example and the result. This is done with blender 2.90.0 Let me know if it works for you.

skinexample.zip

Do you want to bring King kong to DCS?

OK....your model works fine....hmmmm... I must have something wrong setup somewhere....... Shall start from scratch and see tomorrow.
PS...really appreciate your work on the exporter..... It makes DCS modelling affordable for those that cant afford the price for Max..... and Blender is so much easy to use!

something in the animation with the skin mode not right....... shall investigate

this is caused by a mesh problem.... and too many bones.......