Professional Documents
Culture Documents
This is a summation of learnings made while trying out Daz Studio’s new dForce. These do not involve draping
clothes on figures but rather on other ways you can use dForce (such as draping blankets and towels or draping
clothing on furniture and other clothing). Because of their simplicity, some of the elements made from
primitives are helpful in illustrating what the various dForce global and surface parameters will do.
Part 3 Index
c. Set up an animation with the ellipsoid moving to a position below the hand at frame 8 and into the hand
at frame 15. At frame 15, rotate the ellipsoid so it is parallel with the forearm of the figure.
Frame 0:
Frame 8:
Frame 15:
d. Add a dForce dynamic modifier to the
leash and then add a dForce modifier
weight node. Paint a weight map so
the influence is removed from the
clasp next to the collar. See image.
e. Hide the figure so it doesn’t interfere with the leash’s movement. Run the simulation. You will see a
result like this:
Frame 4:
Frame 8:
Frame 15:
Frame 30:
a. Create a central pole with a cylinder of 4 feet length and 4 inch diameter. Create two spheres of 6 inch
diameter, 16 segments, and 16 sides. Put one on the pole near its bottom and the other away from the
pole. Parent the sphere that is away from the pole to the one on the pole.
b. Create a long cylinder that is 100 feet long, 1 inch diameter, with 100 segments and 6 sides. Position one
end of the cylinder into the sphere as shown below. Do not parent the cylinder to the sphere. Add a
dForce dynamic modifier to the cylinder. Turn self-collide off in the Surfaces pane.
c. Set up an animation timeline with 32 frames. Set a key frame for the sphere on the pole at frame 0. At
frame 32, move the sphere up the pole and set Y-rotate to 1440 (which will give you 4 complete
rotations). As the inner sphere rotates, the outer sphere will sweep in a wide arc around the pole,
pulling the cylinder (rope) behind it.
d. Run the dForce simulation with default density (180). You will find the rope misbehaves, sticking to the
center pole and wrapping up and over itself. The images below show frame 14 and 28 from both a top
and side view. You can go here to see an animated version of these simulations.
e. Density 25. This was the first density where the rope didn’t strike the central pole. The rope swirls
around the pole but has an elongated shape.
f. Density 5. The rope mostly follows a circular path.
g. Density 1. The rope follows along a path that’s even tighter than a circle.
h. A density value between 1 and 5 seems to be best. These are much lower values than I would normally
expect to use.
i. I set up another scene with just one sphere and the rope embedded in it. I duplicated the rope multiple
times and changed the density for each one. Below is an image showing the result of single frame
simulations using default gravity and default surface settings, other than Density, which runs from 2 for
the top rope (stayed horizontal), to 5, 10, 25, 50, 75, 100, 150, and 180 (default) for the bottom rope.
As you can see, the lowest density value of 2 makes the rope fully rigid. Steadily increasing density
values cause the rope to sag more near the point of attachment. I’ve noticed this sagging pattern
before, where instead of a smooth drape from end to end, you get a lot of draping near the attachment
point and a mostly horizontal section away from it. Since these were all done for the same time
duration, it’s likely the horizontal section would fall further with added time. This also shows that dForce
simulation appears to be working from one end to the other, rather than everywhere at once.
53. Effect of Density on a Rotating Cloth. Before I did the rotating rope discussed in section 52, I had started
with a rotating cloth but had difficulty with it collapsing into a thin streamer. After discovering that very low
density values helped stiffen the rope, I tried them on the cloth and got better results.
a. Create a 2 foot diameter plane with 50 divisions. Rotate it so it appears like a diamond. Add a dForce
dynamic modifier to it.
d. Set up an animation timeline with the figure doing a 360 degree rotation around the Y-axis. I also moved
the arm up at the 180 degree mark and back down at 360.
One thing that affects dForce animations is the speed of movement. If instead of the 360 degrees I used
with the figure I used 1400 degrees, as I used with the rope in section 52, the cloth plane stretched and
exploded no matter the density settings.
e. Run a dForce simulation at default density (180). The cloth stretches into a thin band (images show
frame 16 and 32 of 32).
f. Density 50:
g. Density 25:
h. Density 10:
i. Density 2:
j. Density 1:
k. As you can see, lower density values result in a cloth that stays more spread out, but you can go too far
as shown with density value of 1. Best results are between 2 and 10. One place where this could be
applied is to create a flowing cape.
An animated GIF is available online that shows the flowing behavior at a density of 2.
54. Tie a String. I wondered if one could use helper objects to tie a string in dForce. Turns out you can as I show
below! This is an experiment that might not have much use but it was fun to work out.
a. Create a primitive cylinder 12 inches long, 0.25 inches in diameter, X-positive, with 150 segments and 12
sides. I used 150 segments so there would be enough flex in the string and enough vertices so they
would grab and not pass through. Add a dynamic modifier.
b. Create a second primitive cylinder 12 inches long, 1 inch in diameter, Z-positive, with 20 segments and
16 sides. Move this cylinder so it is just above and not touching the first cylinder.
c. Create two primitive spheres, 0.5 inch in diameter, X-positive, with 16 segments and 16 sides. Move and
embed one sphere on either end of the long cylinder. Do not parent the cylinder to the spheres.
e. Go to the Surfaces pane and set density to 2. This is important, as otherwise the string has too much flex
and will catch and distort.
f. Set up an animation timeline with 32 frames. Just like tying a knot, the two spheres will cross past each
other, than one will wrap around, dip down and back through a loop formed by the crossed string. The
following series of images show the setup from the front and then the top view, followed by the
simulation of the string.
Frame 4:
Frame 8:
Frame 12:
Frame 16:
Frame 20:
Frame 24:
g. It’s probably hard to envision the movement, so there is a GIF available so you can see it in motion.
55. Using a Dynamic Surface Add-on. There are three dForce modifiers: dynamic, static, and dynamic add-on.
The last one is not explained anywhere and it was only through the postings by Mada and barbult on the Daz
forums that I learned how to use it - a big thanks to both!
For a detailed list of steps using Blender and a wardrobe item (shirt in her case), see barbult’s post. Since
clothing has more complex geometry that may hinder understanding how the add-on works, this tutorial
section uses a simple cylinder made in Silo and imported into Daz Studio (other modelers should have
similar tools although they may use different names).
Silo Steps
d. From the main menu, choose Modify/Break to split the cylinder down the
path.
e. Use the face selection mode and choose the faces to the left of the split.
Move them slightly forward and then to the right so they overlap the right
faces but with a small gap.
f. Select the cylinder and save it by going to the main menu and choosing File/Save Selected Objects…
g. Zoom in towards the upper part of the cylinder. Choose the polygon
tool (menu Create/Polygon Tool). The mouse icon will change to a
diamond. Click on a vertex (the 4th one down) on the left edge, then
click on a vertex on the right side, then one in the 5th row on the right
side, and then the fifth one down on the left edge (see green area in
image). Hit Enter to create the polygon and Esc to exit the tool. The
newly created polygon is now a part of the cylinder object.
i. Hit the delete key. You will be left with only the lone polygon. Save it by
going to the main menu and choosing File/Save Selected Objects…
(If you want to create another polygon, type Ctrl+z to undo and restore the
cylinder).
j. Import the cylinder into Daz Studio (use From: Silo to import it with the
right dimensions). Repeat for the polygon.
k. With the cylinder selected, go to
the main menu and choose
Edit/Object/Rigging/Convert
Prop to Figure.
m. In the Source drop down box, choose the figure we just created. In the Target drop down box, choose
the polygon. This will make the polygon part of the figure.
n. Select the cylinder and add a dForce dynamic modifier. Select the polygon and add a dForce dynamic
add-on modifier.
In the image below, there are 3 different setups. The left cylinder shows what happens when there is no
add-on, the middle one shows the result with one polygon, and the right one shows it with two
polygons. You can see that if you were making a shirt, you could add a polygon at every button so the
shirt would move in-between in a more realistic fashion.
q. You may find you can skip steps k to m (making the prop a figure and using the transfer utility). For the
figure above, just making the polygon a child of the cylinder was sufficient for it to work, but other times
it fails. Not using the transfer utility also means the polygons may appear in a different position before
the simulation than they will appear during the simulation, which can be confusing and lead to
unexpected results. With what I know now, I’d recommend sticking to all the steps.
r. For those without a modeler, I have figured out how to get the coordinates of vertices from within Daz
Studio. An upcoming section will describe how to use that approach.
56. Finding Vertex Coordinates within Daz Studio. Many people have access to a 3D modeling application. If
you do, the easiest way to create a polygon to use as an add-on is to create it in the modeler (like I did with
Silo in section 55). If you don’t have access to a modeler, all is not loss as you can hand-code a polygon.
a. Go here and download and save the Geometry_Info script to your Daz Library Script folder.
b. Open the Script IDE pane from the main menu by selecting Window/Panes (Tabs)/Script IDE.
c. From the Script IDE menu, choose File/Open Script… and click on Geometry_Info.dsa
d. We are going to modify this script, so choose File/Save Script As… and give it the name
Geometry_Info_Vertex_Coordinates.dsa.
g. Choose File/Save Script. You only have to do these steps one time.
h. To test the script and make a polygon, create a primitive cylinder in Daz Studio.
i. Using the Geometry Editor, select the top faces. Right-click in the viewport and hide them (Geometry
Visibility), then delete them (Geometry Editing).
j. Change to the Geometry Editor vertex selection tool (the 3rd icon in the top row of the pane).
k. Click on a vertex in the top row of the cylinder. Holding down the Ctrl key, select the vertex directly
below. While still holding down Ctrl, select a vertex in the second row down on the opposite side of the
cylinder, then choose the vertex directly above. You will have 4 vertices selected.
l. To see which vertices you’ve chosen, click on the Details button in the tab right below the icons in the
geometry editor. Make note of the numbers. Daz sorts the vertices in numerical order which is not
necessarily the order you selected them in.
m. Now run the script we modified before by clicking the Execute button. The results will be in the gray
output box at the bottom of the IDE:
(If this box is not showing, click on the small triangle at the bottom of the pane.)
q. Next add f 2 1 3 4 to the text file. You should have something that looks like this:
r. Save the text file with .obj. You’ve just hand-coded a polygon!
s. Import the polygon into Daz Studio. From the main menu, select Import and select the .obj file you just
created. In the dialog box, be sure From: Daz Studio and Scale 100% are chosen.
t. You should see the polygon show up in the correct position. If not, you likely did not copy the right
vertex information. If the polygon seems to be twisted, swap the first two numbers in the “f” line.
No Add-ons:
e. Finally I used the Geometry Editor to hide the top 2 and bottom two polygons of the shirt gap add-on to
give it a more open look.
58. Creating a Seat Belt. Someone on the Daz Forum mentioned the fact that most 3D car models lack seat
belts. Turns out dForce can create a seat belt that will wrap around a sitting passenger. My first attempt
used a single long plane with 3 helper cylinders - it worked but was a little hard to setup. A second attempt
using two planes was much easier to setup and simulate, so that is the approach I will discuss here.
d. Hold down the left mouse button and drag from the
upper left to mid-right. Make sure all the squares above
the guide cube are selected (orange).
e. Right click in the viewport and select Geometry
Visibility/Hide Selected Polygons.
g. Right click in the viewport and select Geometry Editing/Delete Hidden Polygon(s). This will permanently
eliminate the hidden part of the plane leaving just the thin belt.
h. You may wonder if you could just scale down the plane, and you can, but the behavior of the belt during
simulation leaves a lot to be desired.
i. Now create a 2.25 foot primitive plane, y-positive, with 54 divisions. This is for the lap seat belt –
depending upon the car and figure models, it may need to be a longer. Follow steps d to g for the
second plane.
k. Set the Density parameter on the Surfaces Pane to 2 for both belts.
n. This next step will depend upon the car model you are
using. Most of the geometry will interfere with and
slow dForce simulation, so we want to temporarily
hide it. Choose the car in the Scene pane. Select the
Geometry Editor from the Tool Settings pane. Under
Surfaces, click on each open eye and close it except
for the Seats.
o. Next we need to position the objects we created. Position the lap belt across the figure’s lap, raised and
slightly in front of the hips. Position the chest belt at an angle in front of the abdomen. Have the console
end of the belts overlapping each other. I found it helpful to increase the length of the belts to 10% x-
scale.
i. Select the G3F figure, go to frame 30, and click on the set keyframe icon. This is to keep the figure’s
final pose set, as we will need to move the arms out of the way.
iii. At frame 0, move the figure down and back. This will allow the figure to rise up into the belt as the
belt moves down towards the seat. Also move the figure’s arms up and out to the side so the
moving belts won’t hit into them.
iv. At frame 8, move both the cylinders for the lap belt down and to the back and in towards the seat.
This will be the final position of the belt end. (only one of the two cylinders are shown, but do the
same for both).
v. At frame 8, move the free end of the chest belt to the left and up, positioning it in front of the
figure’s left breast.
vi. At frame 10, move the free end of the chest belt to the left and up, positioning it near the shoulder.
vii. At frame 12, move the free end of the chest belt to the left and up, positioning it near the door jamb
where a seat belt would attach.
r. Run the dForce simulation. You should get the following results:
Frame 2: Frame 8:
s. Go back and unhide all the surfaces you hid in step n. Choose the car in the Scene pane. Select the
Geometry Editor from the Tool Settings pane. Under Surfaces, click on each closed eye to open it. If you
hid parts of the seat, a quick way to restore them is to click on the seat’s open eye to close it then click
again to reopen it.
a. To use polylines, you must first install the Daz Studio Beta product, 4.11.0.231 or later. The beta does
not replace your current Daz Studio general release (4.10 or earlier), both can coexist on the same
computer.
b. Daz has released a script that makes adding polylines much easier. You can find it here. Save it to My
Daz3D Library/Scripts Folder. You can also create polylines in some 3D modelers or by hand, but using
the script is the easiest.
c. If the Script IDE pane is not already open, select from the main menu Window/Panes (Tabs)/Script IDE.
d. From the Script IDE pane’s menu, choose File/Open Script… and choose the downloaded script:
Generate_Polyline_Dynamic_Surface_AddOn.dsa
e. Create a primitive cylinder in Daz Studio: two foot length, two foot diameter, 20 segments, 32 sides. Y-
positive.
f. In the scene pane, select the cylinder. From the Tool Settings
pane, select the Geometry Editor and the Polygon selection tool
(left icon in upper row of the pane). Select the top faces then
right-click in the viewport and hide them (Geometry Visibility),
repeat for the bottom faces. Next select a column of faces on the
front and hide them. Then delete all the hidden faces (Geometry
Editing). You should end up with something like this:
g. Select the cylinder and from the main menu choose Edit/ Object/Geometry/ Add dForce Modifier:
Dynamic Surface.
j. Click on the Execute button at the top of the Script IDE pane. You
will find that Daz Studio has added a new line between the two
vertices.
There will also be a new item with the word AddOn parented to
the object whose vertices you selected.
k. You can stop here, having made one polyline. Or you can select
two new vertices 4 rows down, click on the Execute button again,
and add another polyline to the addon. You will not see any
change in the scene pane, as the new line will be added as part of
the same object. You can repeat this as often as you like, adding
as many polylines as needed.
l. After creating the polyline, you need to select the Cylinder AddOn
in the scene pane and from the main menu choose
Edit/Object/Geometry/Add dForce Modifier: Dynamic Surface
Add-On. After doing this, run the simulation. You will find the
polylines hold the gap closed (see below).
m. Although you can see the polylines in the viewport,
they will be invisible in the render. That can be an
advantage or a disadvantage, depending upon what
you are trying to do.
n. As another example, I will use the split cylinder I made in Silo for section 55. See that section for the
initial steps.
i. Import the cylinder into Daz Studio (use From: Silo to import it with the right dimensions).
ii. Select the cylinder and add a dForce dynamic modifier.
iii. Select the cylinder and add a dForce weight node. Add the dynamic strength map. Paint a bit of
blue on the upper left and right edges (remember to hold down the Alt key to remove the full-
strength red).
o. This cylinder shows up one oddity when creating the addon. The split I made in Silo is on the side of the
cylinder. To center it in the scene, I rotated the cylinder 28 degrees. When you add the polylines, they
do not appear where the selected vertices were located. Instead, they are rotated 28 degrees whether
you parent them in place or not.
p. In spite of the misposition, you can go ahead and go to the main menu and choose
Edit/Object/Geometry/Add dForce Modifier: Dynamic Surface Add-On. Run a simulation and the
polyline(s) will pop into place and act as desired. Or do as I did, and rotate the AddOn 28 degrees. (on
some other models, you may find you need to zero put X, Y, and Z translate as well).
After rendering, you can still see the polygons (until you hide them), whereas the polyline is not visible.
r. In section 55, I showed how you used the Transfer Utility after creating and before using the Add-on. I
have found this was not really necessary. You can still do so, but the dForce add-on will work without it.
Go to Menu