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

Mesh Deformer for tailoring mesh clothing

    XMLWordPrintableJSON

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Won't Finish
    • None
    • Active
    • None

    Description

      BEFORE YOU COMMENT


      Please read this description carefully. Comments should be relevant to the scope of the issue as stated here, and not about:

      * Mesh in general
      * Mesh objects not designed against the unmodified avatar shape this uses as the base
      * Deformation on custom avatars

      Those are fine topics, but should be addressed on the Viewer Forum
      (http://community.secondlife.com/t5/Second-Life-Viewer/bd-p/SLViewer), not here.

      problem: when wearing mesh clothing in second life - modifying the body shape of the avatar causes the clothing to no longer fit. making the avatar fatter causes it to protrude beyond clothing; making it thinner causes the clothing to hang in space away from the avatar.

      solution: deform clothing meshes to match changes in avatar shape.

      for each avatar type (male, female) we'll choose a template shape - this will be a generic form for the avatar and will be specified by an exact set of shape parameters. when modelers create clothing - they will tailor their item to exactly fit this template shape.

      when a user modifies his avatar shape (making it thinner, or more muscular, or fatter, etc.) the exact changes from the template will be determined: for each vertex on the avatar mesh, a vector will store the change in position. this set of vertices and change vectors will be used to create a deformer, which when applied to a clothing mesh, will deform that mesh so that it fits the new avatar shape.

      FAQ:

      Q: will this deformer work on any avatar mesh (dragon, robot, etc) or only the default male and female avatars provided by SL.

      A: only the default SL avatars will be supported.

      Q: will the deformed mesh clothing match all the sliders controlled in the avatar editor?

      A: yes.

      Q: will users have control over layering of multiple mesh clothing items?

      A: no. this project is to address ONLY the issues caused by changing the avatar's shape.

      Q: will users have control over offset or thickness for mesh clothing?

      A: users will not have this control. clothing designers will be able to control this when modeling the clothing on the template avatar.

      Q: will manual adjustments be possible? required? or will deformation be fully automatic?

      A: the user will make no manual adjustments. the deformer will be fully automatic.

      Q: when does the deformation take place?

      A: when the user puts on a new piece of clothing - and when the user modifies any of their avatar shape parameters.

      Q: is the deformation computed on the client or the server?

      A: it is computed on the client.

      Q: what dependencies might this have on the server side?

      A: a new boolean variable will need to be added to the mesh asset. the variable indicates whether this mesh should be deformed or not.

      Q: will mesh clothing deform dynamically to match avatar physics wearables?

      A: deforming with avatar physics was not part of the original specification of the project - and may possibly entail a large amount of development work to do efficiently. however, LL has shown keen interest in having the deformer work with physics - so we are examining the costs.

      Q: what about automatic skin weights?

      A: that work can be done independently of this work - so i think it's best to create a separate (mini) project for it.

      Q: what happens to already existing rigged mesh wearables?

      A: the default behavior for meshes which were created before the deformer will be to NOT apply the deformer. (this is for backwards compatibility - so that any meshes created prior to this work are not broken.)

      Q: how will this deformer work with skirts?

      A: the deformer will not treat skirts any differently than other clothing types.

      Attachments

        1. Arms Deform Tester.dae
          654 kB
        2. Back.png
          Back.png
          314 kB
        3. belly1.jpg
          belly1.jpg
          229 kB
        4. belly2.jpg
          belly2.jpg
          192 kB
        5. belt edges.jpg
          belt edges.jpg
          470 kB
        6. belt hi poly.jpg
          belt hi poly.jpg
          269 kB
        7. Capture d’écran 2012-04-26 à 12.48.55.png
          Capture d’écran 2012-04-26 à 12.48.55.png
          16 kB
        8. Corset Deformer Test.zip
          1.99 MB
        9. Defalt Female Mesh for Masami Kuramoto.zip
          280 kB
        10. Default Male & Female Rigged Avatars.zip
          6.61 MB
        11. Default Male Mesh.zip
          282 kB
        12. deform_to_current_shape_patch.txt
          3 kB
        13. deformer foot bug.jpg
          deformer foot bug.jpg
          121 kB
        14. deformer inner thighs and chest.jpg
          deformer inner thighs and chest.jpg
          425 kB
        15. deformer results.jpg
          deformer results.jpg
          676 kB
        16. Deformer Wrong Ankles.jpg
          Deformer Wrong Ankles.jpg
          1.09 MB
        17. Deformer Wrong Breast.jpg
          Deformer Wrong Breast.jpg
          1.35 MB
        18. Deformer-Wrong-Face.jpg
          Deformer-Wrong-Face.jpg
          582 kB
        19. Deformer-Wrong-Muscle.jpg
          Deformer-Wrong-Muscle.jpg
          567 kB
        20. Deformer-Wrong-Muscle1.jpg
          Deformer-Wrong-Muscle1.jpg
          671 kB
        21. fast-deform.patch
          15 kB
        22. FemaleGoth.xml
          8 kB
        23. Fingers Fist.jpg
          Fingers Fist.jpg
          22 kB
        24. Fingers Splayed.jpg
          Fingers Splayed.jpg
          25 kB
        25. Firestorm-beta 2012-12-01 08-31-26-96.png
          Firestorm-beta 2012-12-01 08-31-26-96.png
          603 kB
        26. Front.png
          Front.png
          358 kB
        27. Hand closed.png
          Hand closed.png
          436 kB
        28. Hand open.png
          Hand open.png
          503 kB
        29. jira 1716 snapshot.png
          jira 1716 snapshot.png
          990 kB
        30. male_denims_high.dae
          3.30 MB
        31. Male-Female default shapes.blend
          2.93 MB
        32. Miguael Liamano Deformer_Alpha_early_2012_001.png
          Miguael Liamano Deformer_Alpha_early_2012_001.png
          1.46 MB
        33. Miguael Liamano Deformer_Alpha_early_2012_002.png
          Miguael Liamano Deformer_Alpha_early_2012_002.png
          1.18 MB
        34. Miguael Liamano Deformer_LL_Test_265192_001.png
          Miguael Liamano Deformer_LL_Test_265192_001.png
          958 kB
        35. Miguael Liamano Deformer_LL_Test_265192_002.png
          Miguael Liamano Deformer_LL_Test_265192_002.png
          1.17 MB
        36. non_default_test.jpg
          non_default_test.jpg
          25 kB
        37. pantcuffs deformer.jpg
          pantcuffs deformer.jpg
          147 kB
        38. ProjectViewer-Deformer 2012-10-26 08-04-24-55.png
          ProjectViewer-Deformer 2012-10-26 08-04-24-55.png
          312 kB
        39. ProjectViewer-Deformer 2012-10-26 08-04-48-70.png
          ProjectViewer-Deformer 2012-10-26 08-04-48-70.png
          303 kB
        40. ProjectViewer-Deformer 2012-12-01 08-22-41-35.png
          ProjectViewer-Deformer 2012-12-01 08-22-41-35.png
          539 kB
        41. ProjectViewer-Deformer  254967   Still some problems.png
          ProjectViewer-Deformer 254967 Still some problems.png
          173 kB
        42. Second Life 3.4.1 (264215) Visual.flv
          818 kB
        43. Second Life 3.4.1 (265139) Elf Spot.png
          Second Life 3.4.1 (265139) Elf Spot.png
          702 kB
        44. Second Life 3.4.1 (265139)  Glove.png
          Second Life 3.4.1 (265139) Glove.png
          479 kB
        45. Second Life 3.4.1 (265139) HS test  dress 1.0 (SL 3.3.1) front .png
          Second Life 3.4.1 (265139) HS test dress 1.0 (SL 3.3.1) front .png
          795 kB
        46. Second Life 3.4.1 (265139) HS test  dress 1.0 (SL 3.3.1) side.png
          Second Life 3.4.1 (265139) HS test dress 1.0 (SL 3.3.1) side.png
          842 kB
        47. simple tunic.dae
          188 kB
        48. skirt and belt at butt size = 30.jpg
          skirt and belt at butt size = 30.jpg
          179 kB
        49. skirt and belt at butt size = 74.jpg
          skirt and belt at butt size = 74.jpg
          174 kB
        50. skirt and belt butt size = 30.jpg
          skirt and belt butt size = 30.jpg
          270 kB
        51. skirt belly=0 (undeformed).jpg
          skirt belly=0 (undeformed).jpg
          370 kB
        52. skirt belly=50 (1).jpg
          skirt belly=50 (1).jpg
          472 kB
        53. skirt belly=50 (2).jpg
          skirt belly=50 (2).jpg
          491 kB
        54. skirt belly=50 (3).jpg
          skirt belly=50 (3).jpg
          424 kB
        55. Skirt butt.png
          Skirt butt.png
          471 kB
        56. skirt butt=30 (1).jpg
          skirt butt=30 (1).jpg
          501 kB
        57. skirt butt=30 (2).jpg
          skirt butt=30 (2).jpg
          492 kB
        58. skirt butt=74 (undeformed).jpg
          skirt butt=74 (undeformed).jpg
          431 kB
        59. skirt butt size = 30.jpg
          skirt butt size = 30.jpg
          84 kB
        60. skirt butt size = 40.jpg
          skirt butt size = 40.jpg
          82 kB
        61. skirt butt size = 74.jpg
          skirt butt size = 74.jpg
          81 kB
        62. Skirt Front.png
          Skirt Front.png
          513 kB
        63. Snapshot_004.png
          Snapshot_004.png
          1.56 MB
        64. Snapshot_005.png
          Snapshot_005.png
          1.57 MB
        65. Snapshot_006.png
          Snapshot_006.png
          1.56 MB
        66. Swimsuit back.png
          Swimsuit back.png
          420 kB
        67. swimsuit left.png
          swimsuit left.png
          504 kB
        68. Swimsuit right.png
          Swimsuit right.png
          427 kB
        69. Thin shape - Height 1 Torso 50.jpg
          Thin shape - Height 1 Torso 50.jpg
          26 kB
        70. Thin shape - Height 1 Torso 90.jpg
          Thin shape - Height 1 Torso 90.jpg
          27 kB
        71. Thin shape - Height 1 Torso 90 but joined to lower half.jpg
          Thin shape - Height 1 Torso 90 but joined to lower half.jpg
          25 kB
        72. Thin shape - Height 53 Torso 50.jpg
          Thin shape - Height 53 Torso 50.jpg
          30 kB
        73. Thin shape - Height 53 Torso 50 but joined to lower half.jpg
          Thin shape - Height 53 Torso 50 but joined to lower half.jpg
          27 kB
        74. Thin shape - Height 53 Torso 90.jpg
          Thin shape - Height 53 Torso 90.jpg
          26 kB
        75. turtleneck.dae
          3.05 MB
        76. Waist wrap default shape build disabled shaders.jpg
          Waist wrap default shape build disabled shaders.jpg
          150 kB
        77. Waist wrap default shape build enabled shaders.jpg
          Waist wrap default shape build enabled shaders.jpg
          764 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qarl.fizz Qarl Fizz
              Watchers:
              275 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: