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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: