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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        1. after_001.png
          639 kB
          Alison Alena
        2. after_002.png
          836 kB
          Alison Alena
        3. avatar_reorder.cpp
          20 kB
          Alison Alena
        4. avatar_to_dae_r2.cpp
          21 kB
          Alison Alena
        5. avatar_to_dae.cpp
          21 kB
          Alison Alena
        6. before_001.png
          617 kB
          Alison Alena
        7. before_002.png
          810 kB
          Alison Alena
        8. Mesh_compare_01.png
          200 kB
          Ansariel Hiller
        9. Mesh_compare_02.png
          241 kB
          Ansariel Hiller
        10. veight_display.png
          878 kB
          Connor Nowles
        11. VWR-27649-kadah-compare5.png
          1.43 MB
          Kadah Coba

        Activity

          People

            Unassigned Unassigned
            alison.alena Alison Alena
            jira-users
            Charlar Linden Charlar Linden
            Watchers:
            168 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: