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

Mesh Deformer for tailoring mesh clothing

    XMLWordPrintableJSON

    Details

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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                qarl.fizz Qarl Fizz
              • Watchers:
                278 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: