Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1800

The vertex weights of the default character mesh could be better.



    • Defect
    • Status: Closed
    • Minor
    • Resolution: Won't Finish
    • None
    • None
    • N/A


      There are a few things about how the default Second Life avatar mesh bends with animations that has always bugged me.
      The first it the fold that appears in the chest with some minor movement of the upper torso.
      The second is how the buttocks deform when sitting down or bending over.

      I've spent some time working over the data files used by the Second Life client and have attached my modified files.

      I've only changed the vertex weights in the upper and lower body meshes. But have included all the meshes that include vertex weight data because I've resorted the vertexes by vertex weight. I did this to minimise the number of times the viewer needs to calculate a new transformation matrix.

      In both the upper and lower body meshes I've fixed some asymmetry to the vertex weights. In all such cases one of the vertices was associated with one bone and the other with two. And I've mirrored the value from the vertex that was associated with two bones. This include all the vertices in one ankle.

      For the chest fold I just smoothed out the transition in the front of the avatar between the bones labelled chest and torso.

      In the lower body I've smoothed out the transition between the pelvis and the upper legs at the front and between the legs. And at the back I've spread the transition area upwards so less vertices on the avatars behind only move the the pelvis.

      I'm sure someone who knows more about weight painting could do a better job. However most of my time working on the issue has been writing custom file conversion tools.

      I hope me putting this here is of help to someone.


        1. after_001.png
          639 kB
        2. after_002.png
          836 kB
        3. avatar_dae.zip
          184 kB
        4. avatar_llm_combined.zip
          1.99 MB
        5. avatar_llm.zip
          2.00 MB
        6. avatar_reorder.cpp
          20 kB
        7. avatar_to_dae_msvc100.zip
          6 kB
        8. avatar_to_dae_r2.cpp
          21 kB
        9. avatar_to_dae.cpp
          21 kB
        10. avatar_upper_body_2.zip
          581 kB
        11. avatar_upper_body_2.zip
          581 kB
        12. avatar_upper_body.zip
          581 kB
        13. before_001.png
          617 kB
        14. before_002.png
          810 kB
        15. Mesh_compare_01.png
          200 kB
        16. Mesh_compare_02.png
          241 kB
        17. veight_display.png
          878 kB
        18. VWR-27649-kadah-compare5.png
          1.43 MB



            Unassigned Unassigned
            alison.alena Alison Alena
            Charlar Linden Charlar Linden
            167 Start watching this issue