EZCloth Settings



  • Or not:
    there is a difference but I cannot exactly understand it:
    0_1491682451166_2curtains.jpg
    Stripes are parallel to v-axis:
    0_1491682596274_Knipsel.JPG

    Both cloths have the UStretchResistance set to 0.1 and the VStretchResistance set to 50.
    0_1491683397351_Knipsel.JPG

    It is not a misleading visual effect of the stripes:
    0_1491682477262_Knipsel.JPG

    I heve deleted the simulations, re-ran them, a few times but this remains to be the result.
    The cloth hung parallel to the u-axis wrinkles, the cloth hung parallel to the v-axis remains straight.

    Looks like I come to the inevitable conclusion that 'more research is necessary'.
    (but that will not be tonight)


  • Poser Ambassadors

    It's really cool to see this development being done.
    Seeing as the release of EZDome into the public domain has proven useful I have released the EZSkin 3 code too, in case it is also of any use.
    Get it at: http://snarlygribbly.org/snarlyspace/ezskin.html

    @amethystpendant Good luck with the rest of this project!



  • @amethystpendant said in EZCloth Settings:

    I've emailed PhilC to ask if he minded me including his material room preset values...

    From what I remember, the values weren't Phil's work anyway. They were posted on the RDNA forums by a member whose name escapes me for the present - I saved the images, but they have no name on them. However they say that the values were based on a table by Serge Marck at poserfashion (dot) net, which is long gone, although I haven't tried the Wayback Machine for it. Phil wasn't the only one to use these values in a script, either; svdl made something similar.

    If you manage to get the attributions sorted out I look forward to having this! I used to use svdl's script regularly in Poser 7.



  • @Snarlygribbly said in EZCloth Settings:

    It's really cool to see this development being done.
    Seeing as the release of EZDome into the public domain has proven useful I have released the EZSkin 3 code too, in case it is also of any use.
    Get it at: http://snarlygribbly.org/snarlyspace/ezskin.html

    @amethystpendant Good luck with the rest of this project!

    @Snarlygribbly WOW thanks, I will get it as soon as I get home! It took me longer to remove redundant stuff that I wasn't using without breaking anything, than it did to write the actual meat of the app, the access to the config files just worked, as a framework it was an absolute joy (I'm still trying to get to grips with the layout of controls but I wanted to get out the main functionality and leave the prettifying to later)

    I was planning on writing a plugin for EZSkin 3 to help use @bagginsbill's new hair shader once it's finalised, so having access to the base code will be awesome!

    Amanda



  • @englishbob said in EZCloth Settings:

    @amethystpendant said in EZCloth Settings:

    I've emailed PhilC to ask if he minded me including his material room preset values...

    From what I remember, the values weren't Phil's work anyway. They were posted on the RDNA forums by a member whose name escapes me for the present - I saved the images, but they have no name on them. However they say that the values were based on a table by Serge Marck at poserfashion (dot) net, which is long gone, although I haven't tried the Wayback Machine for it. Phil wasn't the only one to use these values in a script, either; svdl made something similar.

    If you manage to get the attributions sorted out I look forward to having this! I used to use svdl's script regularly in Poser 7.

    New version, with what PhilC used as defaults should be out tonight, including the splitting of stretch resistance in to U & V components



  • A new version has been uploaded including the defaults used by PhilC's scripts and the option to set different U & V stretch resistance values (If you modify the U version the V version will change to match but can then be changed manually)

    V1 Build 2

    I'm going to do more testing before exposing the other values that are not available in the Poser UI



  • Okay, look out for Build 3. I'm exposing the U & V scale parameters. This either shrinks or expands the mesh during the sim (1 = no change) The effect seems to be applied very early on and large deviations from 1 (eg 2 or 0.5) import a lot of energy, I ran some tests with the hanging cloths but I need to run it on some real clothes to see how useful it is, but at the moment I am really excited!!!!


  • Poser Ambassadors

    Thanks for figuring this out!



  • @wimvdb I just created a rudimentary ruched elasticated waist on shift dress! Let me play with this a bit more and I'll upload a new version, also want to test U & V fold and use edge springs


  • Poser Ambassadors

    @amethystpendant said in EZCloth Settings:

    @wimvdb I just created a rudimentary ruched elasticated waist on shift dress! Let me play with this a bit more and I'll upload a new version, also want to test U & V fold and use edge springs

    Is the U & V Scale a global setting for the simulation? I Or is it a setting per dynamic group?
    If it is the latter case, it could be used to get better fittings for the chest area as well. And that would be very welcome!



  • @amethystpendant
    That is great news!
    I understand it behaves similar to MD, so yes I can confirm scale variation should be done with care because the amount of energy introduced can be gigantic.
    Consider an elastic band. If you pull that to twice its length, you can shoot it. Good if that is what you look for but will not always be what you want.

    For those who ask what the difference is with geometry scaling:
    Think of jeans with this u v layout, with the circumference of the legs in u- direction and the length of the legs in v-direction:
    0_1491858939274_Knipsel.JPG

    If you x- and z- scale these jeans to 90% of its original size, the centres of the legs would move closer to the x=0.0 plane.
    If you u- scale it to 90% and simulate around the figure, the pant will shrink and become more skinny, vertical wrinkles will flatten.
    This scaling is best understood as 'shrinkage'.


  • Poser Ambassadors

    One minor bug to report:
    If you made a mistake and saved a preset before you created a sim, the resulting preset file can not be read and the next time ezcloth will generate an error. (this was the first time I used it before a preset file was generated).

    And one request - Can you make the default parameters on start up the same one as are currently in the sim? Some dynamic cloth already has parameters set up. Or make a button to copy them from the sim.



  • @wimvdb Thanks, I'll check that out, although I can't see why it would error just because you don't have a sim created but I can certainly try and recreate.

    I think a Copy From Current button would be best as it currently defaults to the poser default.

    Amanda



  • @wimvdb Build 3 is available with a "Copy Current" button and the U & V scale params

    @F_Verbaas thanks for the explanation I'm playing with it and can see some really useful applications for this

    Amanda


  • Poser Ambassadors

    @amethystpendant
    Build 3 works fine for me. Thanks for the addition of Copy Current!

    The U Scale and V Scale are really nice additions as well. It really allows you to tighten certain parts of the cloth. That is a big help. Just create a new dynamic group and add the vertices you want to shrink to the dynamic group. Then use U scale on that dynamic group.

    One other nice addition to the script would be to add the current actor in the EZCloth dialog box and - if possible - the current dynamic group name. If you have, you could also remove that warning dialog when applying the setings to the simulation.



  • @wimvdb Thanks for the feedback. I'm sure I can loop in the current actor the same way @Snarlygribbly does in EZSkin, as I agree the extra dialogue is a nuisance.

    The U & V scales and the stretch resistance splits means we are going to have to be aware of an actor's UV layout, in the past, as I tend to use procedural textures I haven't been that concerned about the layout, now I might have to revisit that for some of my creations. Hopefully tonight I will get to play with edge springs and possibly U & V fold resistance. Watch this space

    Amanda



  • would it be possible to name the release zips 1,2,3 etc as currently when downloading all one gets is EZCloth.zip and that makes it hard to ascertain which actual file is the latest, I'm only making the point because not everyone is tech savvy enough to check the actual file date.



  • @tastiger said in EZCloth Settings:

    would it be possible to name the release zips 1,2,3 etc as currently when downloading all one gets is EZCloth.zip and that makes it hard to ascertain which actual file is the latest, I'm only making the point because not everyone is tech savvy enough to check the actual file date.

    Hi,

    My reason was that there would only be one Zip file so you always got the latest. But after this build I'll look at adding each version / build

    EZCloth Build 4

    I couldn't find that Use Edge Springs or Spring Resistance had any effect so I have removed those 2 params. I've added a read only text box indicating which actor is currently selected and removed the Dialog before applying the settings or copying from the settings as per @wimvdb's request.

    I haven't had chance to look at the U & V fold resistance yet, hopefully tomorrow.

    Amanda



  • @amethystpendant said in EZCloth Settings:

    @tastiger said in EZCloth Settings:

    would it be possible to name the release zips 1,2,3 etc as currently when downloading all one gets is EZCloth.zip and that makes it hard to ascertain which actual file is the latest, I'm only making the point because not everyone is tech savvy enough to check the actual file date.

    Hi,

    My reason was that there would only be one Zip file so you always got the latest. But after this build I'll look at adding each version / build

    Amanda

    Thanks for that, all it really needs is the zip file to be renamed each time it is updated to reflect which version it is.



  • Okay, I think I've ruled out the cloth Sim using differing values for U & V fold resistance, which is a shame. So I'm just about ready to release version 1.1.

    Are there any other things people would like adding, e.g. Import Export settings so we can share. One other thing I thought about was a mesh density value, increase it and it would proportionally reduce density and increase shear and fold resistance.

    Also I thought about adding a "Utilities" tab so I could have some of my cloth sim related scripts handy like copy figure to frame1 which copies the bodies x,y & z tran and rotation values to frame 1 which limits movement during a sim. Could also have a run simulation button that does exactly the same as the one in poser :)

    Let me know what you think

    Oh, one thing I have noticed, is that if you have differing U & V stretch rates things like skirts get nice lateral folds rather than just hanging like a sheet of paper, looks much more realistic.

    Amanda