EZCloth Settings



  • @F_Verbaas Hi, although they are separated Poser only passes through (ISTR the U versions) I tried when I first looked at this many years ago setting them differently but it made no difference and some like U/VScale have no effect at all, the only 2 I found that did have an effect were the CLOTHCLOTHForce andU/VBendRate which I have exposed in my tool.



  • BTW I've only tested this on windows, but on that platform it appears to work in Poser 11 and Poser 2014



  • @amethystpendant
    It would seem strange to make a function that does not do anything. When it is provided for compatibility that should be noted in the docs.
    Was this confirmed by support?



  • @F_Verbaas said in EZCloth Settings:

    @amethystpendant
    It would seem strange to make a function that does not do anything. When it is provided for compatibility that should be noted in the docs.
    Was this confirmed by support?

    Have you ever tried contacting support at SM? You have access to the code, add the split for the U & V as I said it was a long time ago that I tested it.



  • @amethystpendant
    They usually are/were? responsive to me, but yes, I can hack the code.
    Not sure if the new crew has the knowledge so I may need to try it out myself.
    Had already planned to do so but if you had confirmation the V-variants are not working (yet)/are not transferred to the simulator (yet) I could have saved myself the trouble.



  • @F_Verbaas I believe they never were implemented, Max did in their implementation but Poser didn't, and lets face it cloth sim has not had ANY work done on it from when it was first released and was at the time amazing, now not so much. It's the one thing I REALLY hope is addressed in the next release of Poser. If all they have are new rigging tools (which I don't use) or new characters (which don't deserve to be used) then I doubt I will upgrade to the next release, I only went to P11 because of Superfly.

    The cloth sim and render engine are what I use. I make my own clothes in Blender and sim them in Poser as the cloth sim in Blender, although very flexible doesn't come up to snuff yet, if it did, I would pose in Poser, export to alembic cloth sim and render in Blender.



  • @amethystpendant
    Having different stretch parameters does have an effect, but more complicated than one would expect.

    Below is the standard hgh density cloth pane, secured by the top row of vertices as 'choreographed'.
    The stripes in the cloth are parallel to v-direction.
    0_1491676364405_kleed0.jpg

    I tweaked the code so the u-stretch-stiffness is as specified (here default 50) vstretch-stiffness set to 0.1
    Result is non-symetry!!!
    0_1491676022752_kleed.jpg
    The sim was 300 frames and the end result was stable.

    I think the problem lies with the shear springs, the difference in stiffness and the fabric being ordered quads. Will see what happens with a Delaunay triangulation.



  • It was exactly that! When I use a random triangulation, the result is as expected!!
    Used vstretchstiffness 0.1 again.
    0_1491678244735_delaunay.jpg
    stretch and wrinkly contraction.

    Conclude:
    1 - it makes sense to explore further. I need to extend the code a little to include the other parameters.
    2 - there is sense in using irregular triangulated meshes for dynamic clothing.



  • Have you tried it swapping the stiffness U & V as I can't see why that would have an effect on a simple drop, the second picture you showed seems simply do demonstrate the left to right top to bottom calculation of the simulation engine. I'll look forward to your continued testing :)

    Amanda



  • @amethystpendant
    You are right! I was carried away. (and called away for other things so wanted to close too swiftly)

    0_1491679796854_Knipsel.JPG

    seeing the amount of sag (and some previous observations I did not share) I had assumed the U-stretch would be untouched.
    Unfortunately when I rotate the cloth 90 degrees and do the same hanging test with the u=1.0 area, I get the same sag.
    Darn!

    Sorry. Shouted too quickly.
    (hides in shame)



  • @F_Verbaas Nothing wrong with an experiment that went wrong, it proves something :) I really would have been surprised if they had suddenly decided to implement individual UV params when they never had before, altough from what I understand of the stitch API there is no logical reason why they wouldn't



  • 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