Forum: DAZ|Studio


Subject: PoC : You can create your own Dynamic Clothes

mmogul opened this issue on Apr 07, 2014 · 46 posts


mmogul posted Mon, 07 April 2014 at 7:49 AM

PoC = Proof of Concept

This post is not a tutorial, I just want to proof a concept.

It's impossible to create dynamic clothes to DS4 without the expensive Optitex creation software ... WRONG !

See the pictures below, a special care with the commas (yellow) and with the variable values (green). I will be using the "Boxerslips" figure from "M6 Intimates" product, available at DAZ3D. It's a very simple and plain figure, appropriate to this PoC. You need to have an intermediary/advanced familiarity with the DSON format used by the DUF files. I'm using the advanced cloth control, but this also may work using the basic control.

So start a new scene, load the Boxerslips figure and save a file as "Scene Subset". Locate and open the new file with a good text editor.


begining of the file :
before

after


scene / nodes section (2 modifications here) :

before

after
---------------------

scene / modifiers section (after "DzMeshSmoothModifier" or "SkinBinding" modifier) :

before

after
---------------------

scene / materials section (append the lines to each material/panel in this section) :

before

after


Save the file, now you have a working dyn cloth. Start a new scene, load the cloth, load Genesis 2 Male, run the simulation.

Result:

The mesh used in this PoC was not designed to cloth simulation, so the results are rubish.

But using a proper mesh, load the obj file, load genesis, use the transfer utility to create a cloth figure. Save the new cloth as scene subset and perform the steps above.

More : you can create several sizes of the same cloth, that fits to several genesis's chars. Create a mesh that fits the desired shape. Load the obj file, use "Convert prop to figure", save it as scene subset and perform the steps above. Now you have a dyn cloth. To use it : clear the scene, load the cloth, load genesis and apply the desired shape. DON'T conform the cloth to genesis. Run the simulation starting from the genesis's zero pose.

These pictures uses G2M with Zev0's Youth Morph set to 50%. The shorts mesh was created with blender, the shirt mesh was created with MD2.

Limitations : Works only with simple clothes, without buttons, belts, etc... . The seams feature needs more reseach to be implemented using a text editor.

Now anyone with enough practice on DS4 scripting can create a "Clothify" script.