SYSTEM NOTICE

Auto translation by AI. Be sure, accuracy, nuances and authorial intent may not be fully reflected.
見出し画像

DAZ on Blender | Cloth Simulation (Skirt Edition) - DAZ.Ble Laboratory

I will introduce a method for high-speed cloth simulation of a pleated skirt on a DAZ sailor uniform imported into Blender (Chromebook - WINE) using the DAZ Importer.

★ The ShareCG site where I downloaded the sailor uniform used here has shut down, and the content that was available for free can no longer be downloaded, but I am leaving the following information as a memo.

When performing a dForce simulation on the entire DAZ G8F sailor uniform model using a cloud virtual Windows Paperspace Core GPU+ (which supports OpenCL with an NVIDIA GPU), it took about 15 minutes.

In this case, with a standard local PC, although it is only for the skirt, a very high-speed cloth simulation is possible in about 10 seconds.

It takes a bit more effort than dForce simulation in DAZ Studio, and the results are harder to predict, but please enjoy cloth simulation through trial and error.


Importing the sailor uniform beautiful girl model

DAZ Studio side

Open the sailor uniform beautiful girl "Lei-G8-Salor-Pose-Light-Non-Sim" scene, which is available for free download in the article below, in DAZ Studio.

Open Lei-G8-Salor-Pose-Light-Non-Sim

I changed the lighting and camera angle to make it easier to see.

The model and the scene itself can be downloaded for free from within the article, but please download the two types of JK uniforms used in the scene from the ShareCG site yourself, following the instructions in the article.

Following the article below, install the Diffeomorphic DAZ Importer and export the scene to Blender.

Blender side

Following the article above, click the "DAZ Setup" tab and then the "Easy Import DAZ" button to import the scene into Blender.

Import the scene into Blender with the Easy Import DAZ button-1

Correcting hair position

The hair position was off, so I corrected it. By the way, this phenomenon did not occur on the cloud virtual Windows Paperspace, so I think it is a phenomenon specific to Chromebook WINE.

I selected "Toulouse Hair" and moved "Transform" "Y (front/back)" by -0.07m and "Z (up/down)" by about -0.09m . It's quite rough, though...

Move hair position-1
Move hair position-2

Simulation settings for the human body and skirt

This time, we will perform a cloth simulation on a skirt, which has a simpler structure than a blouse.

Collision detection is set for the human body, and when the skirt hits the body, it deforms along its surface; however, the friction values set for both also affect the simulation.

After performing basic dForce settings with the DAZ Importer, we will manually configure the Blender cloth simulation settings.

Setting collision detection for the human body

Select "Genesis 8 Female Mesh" and click the DAZ Importer's "Make Simulation" button.

Setting dForce simulation for the human body-1
Setting dForce simulation for the human body-2

An error will be displayed, but click "OK" anyway.

I tried clicking the "Make Collision" button in the DAZ Importer, but since collision was not added to the modifier screen, I will add it manually on the Blender side.

Click "Add Modifier" and click "Collision" (collision detection).

Add Modifier (Collision)
Adding collision (collision detection) to the human body

In my case, I click the "" at the far right of the top "Armature SkinBinding" to delete it.

Deleting the "Armature..." modifier-1
Deleting the "Armature..." modifier-2

I have left only the "Collision" modifier on the human body.

Switch to the "Physics Properties" tab (rotation icon).

Checking the "Physics Properties" tab

Changing the "Friction" value at the very bottom (from about 1.000 to 100.000) affects the state of the skirt's surface, the simulation speed, or the skirt's falling (downward slippage).

Set cloth physics for the skirt

Select "Skirt4a", and click the "Make Deflection" button in the DAZ Importer.

Set dForce parameters for the skirt-1
Set dForce parameters for the skirt-2

Click "OK".

Set dForce parameters for the skirt-3

An error will be displayed, but ignore it and click "OK".

Similarly, click the "Make Cloth" button.

Set dForce parameters for the skirt-4
Set dForce parameters for the skirt-5

Click "OK".

Open the "Modifier" (wrench icon) tab.

Delete the "Armature..." modifier

Click the "Armature..." modifier's "" to delete it.

Add a "Solidify" modifier to give the skirt fabric thickness.

Add "Solidify" modifier-1
Add "Solidify" modifier-2

Change the "Offset" to 0.001. Changing this value (to around 0.001 to 0.005) affects the state of the skirt surface, but you usually do not need to change it.

Uncheck "Fill"

In my case, I uncheck "Fill". This has some effect on the state of the skirt.

Skirt modifier settings results

Click the "Physics" tab.

Physics tab-1

Changing the value of "Quality Steps" affects the simulation speed and the state of the skirt's surface. I have it set to "4", but changing it to 1 or 2 will increase the simulation speed.

Physics tab-2

Scroll down and expand "Collision".

In my case, I set "Quality" to "2". Changing this value affects the simulation speed and the state of the skirt's surface.

Check "Self Collision" and changing the "Friction" value (from about 1.000 to 100.000) affects the state of the skirt's surface and the skirt's fall (downward displacement).

In my case, I check it and set it to "5.000".

Cloth Presets

Open the "Physics" tab and click the "Cloth" top right "Cloth Presets" (list icon) to choose from several presets. (The default is "Cotton")

Choosing a fabric type from Cloth Presets

Running the cloth simulation

Starting and stopping the simulation

Press the "Spacebar" to start the simulation, and press it again to stop. Please return to frame 1 (top) every time before starting.

You can run the simulation for any number of frames (time), but depending on the settings, it may take 10 seconds to 1 minute. In my case, I usually stop it at 20-30 frames and use around frame 15 for rendering.

I think it is a good idea to stop at about "10 frames" at first, return to the first frame, and play it back. You can move to any frame by clicking on the frame bar or dragging the frame cursor with your mouse.

Simulation results

Simulation result at frame 15

I will try rendering frame 15.

Render the 15th frame

In this case, it would take about 30 minutes based on the remaining time, so I stopped it midway at about 3 minutes (progress is about 10%) and saved the image.

You can stop it midway by clicking the "" at the right end of the progress bar that appears at the bottom of the screen. If you cannot see the progress bar, you can click the main window to see it, but the rendering screen will be hidden behind it.

Click the rendering screen from the shelf icon
Stop rendering midway
Save rendered image as-1

Select "Image" menu and then "Save As...", specify the location, and save it with a name.

Save rendered image as-2

The rendered image for this example is as follows.

Lei-G8-Salor-After-Skt-Sim-15frm (1000x1000pix)

Comparison with rendered images

1st frame vs 15th frame image comparison
DAZ full vs Blender Skirt(15frm) Simulation image comparison
Blender Simulation Skirt 05 - 20 frame image comparison

By the way, the DAZ full simulation took about 15 minutes, and the Blender skirt simulation took about 10 seconds (about 0.5 fps). All rendering times were stopped and saved after about 3 minutes.

Summary

Since dForce physics simulation cannot be used in DAZ Studio in a Chromebook - WINE environment, I have been using cloud virtual Windows Paperspace Core GPU+ until now.

This time, I introduced an attempt at cloth simulation using a pleated skirt of a sailor suit worn by Genesis 8 Female by loading a DAZ scene into the Blender Windows version in a WINE environment using DAZ Importer.

It takes some effort and it is difficult to predict the results until you get used to it, but on the other hand, it can be used in the process of trial and error, such as being able to perform simulations limited to only the skirt, and being fast at about 10 seconds even on a general PC.

From the next time onwards, I would like to challenge dynamic simulations by applying poses and animations to DAZ models in A-pose loaded into Blender, as well as applications to blouses and the like.

Reference Links


いいなと思ったら応援しよう!