Creating Hair in Poser (Paula Sanders)

Introduction

A decade ago, Paula Sanders wrote her “Creating Hair in Poser 5” tutorial. She investigated on the styling of medium to long hair, without using the Calculate Dynamics features.

This single webpage tutorial, plus four webpages with hints on creating such hair effectively, can be found here:

http://www.perpetualvisions.com/articles-and-graphics/tutorial-poser5-hair.htm

while also Paula’s other works (www.perpetualvisions.com and http://www.perpetualvisions.com/tocs/toc-articles.htm) are definitely worthwhile looking into. At least they have helped me a lot during my journey through 3D image creation.

As Poser Hair Room is concerned, hair can be styled (turning you and me into a virtual hairdresser), or hair can suffer (or benefit) from dynamics like wind and fierce movements, or both. The latter has its issues, as most women do know from reality: severe dynamics can completely ruin the costly efforts of a talented hairdresser.

Before considering dynamics, it’s good to realize what can be done by styling alone. This is exactly what Paula presents in her perfect tutorial on this, which follows right here. I only can add value in two ways:

  • Bundle the various webpages into one PDF
  • Annotate her tutorial and hints, to give some extra depth and background information.

All with Paula’s consent, in case you wonder.

So let’s give the stage to… Paula Sanders. Either check the link above (Paula’s web), or download the annotated PDF (1 Mb).

Case Study: Dressing Up (1 Intro)

Alyson gets dressed, and plays the Marilyn game

Download this tutorial in PDF format (0.5 Mb).

Introduction and Preparation

This Case Study presents some basics for handling the Poser Cloth Room.
I’ll present a Poser girl wearing a simple dress and a scarf, animated to take some poses.

The girl is Alyson, lives in the Poser standard runtime (People \ Alyson section), and comes undressed to this tutorial session. She’ll take the following poses:

  • T-stand, in frame 1
  • Reaching01 (People \ Alyson \ Standing), in frame 30
  • Reaching03M (ditto), in frame 60

While she’s still undressed I step frame by frame through the animation to inspect on clothing issues. Bodyparts should not intersect, and should not tough in places where any cloth has to pass through. Cloth does need some room to maneuver.

The last frame presents some issues with the right arm. The upper arm intersects with a breast and the hand rests upon the knee. Both cases will prevent any future dress to flow gently around the body. On top of that, the shoulder part just looks ugly. From an animation point of view the whole sequence can be improved such that the ball of the right foot stands still, so she’s slightly stepping back in the first part, and bending forward in the second.

 

 

 

After fixing that, I step back to frame 1 and load a dress and a scarf for Alyson (Props > … Clothing > Alyson Clothing > Dynamic). Both are simple props, which fit her neatly. I give the scarf a reddish color to make it stand out.


I save this intermediate file.

Case Study: Dressing Up (2 First Simulation)

Now I enter Cloth Room, click [New Simulation] and enter a name (eg “Alyson”), set the end frame to 90 (1 sec after the last pose), put 15 into Drape frames and click [OK].


In that panel 1 Cloth Simulations I can come back to this settings with the [Simulation Settings…] button.

Next I step into the 2. Cloth Objects panel, click [Clothify…], from the props I select the Dress and confirm with [Clothify].

Then I do the same with the scarf. As a result, when clicking the small triangle in panel 2, both should show up.

In the same panel, I use [Collide Against…], the [Add/Remove] and check Alyson to tell that scarf and dress will collide to her. And to the ground, if I want to. Given the poses that won’t be the case but when she kneels or lies on the ground, it’s required to prevent the cloth from falling through it.

The small triangle should show both, if that’s what I want. Now be sure to check Alyson, and check Ignore head and ignore feet collisions, as the dress will not collide with them anyway.

I’ll skip panel 3 for the moment, I don’t need more details for the clothing, and I also leave all the values in panel 4 as they are. By selecting the scarf and the dress in panel 2, I can see both have slightly different parameter settings in panel 4. These parameters define their physical behavior.

The only thing I’ve got to do now I click [Calculate Simulation]. This shows a progress bar, that first tells me it’s draping (those 15 frames I asked for in the Sim Settings, they take place before frame 1 of the animation), and then simulating (the 60 frames from the animation).

The progress bars tell me that the last finished frame took about 0.6 sec.

Case Study: Dressing Up (3 Analyzing and Improving)

For analyzing the result, I step framewise through the resulting animation.


During frames 6-32 I see the scarf passing through the dress, and around frame 50 the scarf passes through the head, to land on the ground later on.

To repair for that

  • I open the sim settings in panel 1, and check the Cloth self-collision option (lowest from the three offered). Although dress and scarf are separate objects, they are both clothified in the same sim. That is meant by “self”. Not only dress-to-dress and scarf-to-scarf but dress-to-scarf as well.
    Every time there are multiply objects clothified in the same sim, this option should be checked to prevent on passing through another.
  • I open the collision settings in panel 2, for Alyson. I had checked the Ignore head collisions since I guessed that I could afford that, but I was wrong. So I uncheck this one.
    Note that when the scarf lands on the ground someway, I’d better uncheck Ignore feet as well to prevent the scarf from falling though them.

In panel 4, I [Clear Simulation] and [Calculate Simulation] again. In the result I see the dress coming at rest soon after frame 60, the free swaying scarf dangles a bit even at frame 90.

This is my result at frame 75.

Case Study: Dressing Up (4 Girls have more fun)

Now let’s have some more fun. I [Clear Simulation], and back to Pose Room to set the animation cursor in frame 90 and give Alyson an extra pose: Standing02, plus some extra bend through the knees. And I check the added range for unwanted intersections of body parts.

WARNING: in Poser 9 / Pro 2012 the Wind Generator seems to be broken, it won’t affect the cloth sims any more. It’s not you, it’s a software bug.

Back to frame 1, and I choose menu > Object > Create Wind Force. A wind machine drops on the floor, and xRotate=90° makes it point upwards. I move it under her right foot, set the Range to 0.35 (it measures in Poser native Units, 1PNU = 262 cm so 0.35 makes it to her hips) and I set the amplitude to 0. Then I set the animation cursor at frame 75 and click [+] to enter a keyframe, and in frame 90 I set the wind amplitude to 1, while increasing the animation length to 120.


For more precision, I open (menu > Window>) Animation palette, find the Wind Forcefield and its Amplitude and open the Graph.

Back to frame 1 I set this graph to Linear, which guarantees me a wind speed 0 till frame 75, a gradual ramp up till 90 and a constant after that.

Time to save again.

Back to Cloth Room, and I open the Sim Settings to elongate the sim to 120 frames, 30 after the latest pose in the animation. Time to [Calculate Simulation].

Not satisfied? I changed:

  • The wind amplitude from 1 to 1.5 (more wind)
  • Selecting the dress in panel 2, the Air Damping from 0.02 to 0.2 (dress responds stronger)
  • And Fold Resistance from 30 to 3 (dress deforms easier)
  • The simulation length to 150 frames

and with some altered lighting and a hairdo…

Case Study: Covering Up (01 Intro)

Covering objects, removing the cloth covers, and playing with the wind.
Cloth Room without Clothes.

Download this tutorial in PDF format (1.7 Mb).
Download a set of Bagginsbill’s cloth squares (X-tris only).

Introduction and Preparation

In this Case Study I’ll present some basics from Poser Cloth Room. I’m going to use pieces of cloth to cover objects, and to use as flags and banners. I also will introduce some animation, like moving objects, waving flags and using wind.

To save you the time finding or making decent pieces of cloth, I’ve included some in the package that also contains this PDF. Credits to BagginsBill who presents a far larger package for study purposes on his own site

http://sites.google.com/site/bagginsbill/free-stuff

To start, I’ll open Poser, delete the default figure (select it and click [Del]), and ensure I’ve got a ground plane and some light. Then I add an object to the scene, say a car.

To add a piece of cloth, I can just open the (Windows) Explorer, pick the piece I like and drag it into the scene. I like the 3m sized cloth with a 20mm resolution, which contains (300cm/2cm)2 = 22,500 vertices. When you experience performance issues on your machine, you can take a smaller cloth with a lower resolution (as the 2m cloth at 40mm contains (200/4)2 = 2500 vertices, a tenfold less. Which of course will give you coarser folds and wrinkles.

I scale the cloth to 250% to ensure it can cover the car properly, and I give it a blocked texture to reveal to folds and wrinkles.

 

 

I put the cloth somewhat above the car, I’m done with preparations, and enter Cloth Room.

Case Study: Covering Up (02 First Drape)

In Cloth Room, I create a [New Simulation…] (panel 1), give it a meaningful name and accept all other default values.

With the cloth selected, I click [Clothify…] (panel 2) to define the cloth object,

and I click [Collide Against…] to define the collision objects.

I use [Add/Remove…] and check Car and Ground, accept with [OK]

and continue with [OK] to accept all other default values. Now I [Calculate Simulation] (panel 4).

I see the cloth fall onto the car (the message tells that while calculating frame 8, the previous one took about 0.6 sec), and I can start to analyze this first result. Save your file.

Case Study: Covering Up (03 Second Drape)

From the first result I see that the cloth needs more time to settle, and in [Simulation Settings…] (panel 1) I extend the 30 frames (1 sec) to 90. And I [Calculate Simulation] again.

Now I see the car poking through (some red spots), and I do have my doubts about the quality of the folds.

So I adjust the [Simulation Settings…] another time. By checking the first (Object vertex…) option – always the first step in improvements, by checking the third (Self-collision) option to prevent the cloth to fold into itself, and I double she Steps per Frame from 2 to 4 to refine the calculations. That’s fine, I did not need the 2nd option. The more options I check the more time it takes to complete a proper simulation. The collision options don’t need a change at all. Let’s peek behind the [Collide Against…]. The little triangle lets me choose between the collision objects Figure (aka the Car) and Ground. The Offset reads 1, that is: the cloth will remain 1 cm from the car. The Depth needs attention only when the cloth and car are moving rapidly towards each other which might introduce artifacts (not the case now), Friction is meaningful when cloth and car slide along each other, and the options are meaningless as the car is not a character, and hence has no ‘zero pose’ nor a head, hands or feet. Save your file.

Case Study: Covering Up (04 Third Drape and Save)

The 1 cm offset represents quite a thick kind of cloth, while the folds and crumbles on the ground are quite fine. Actually, I like a bolder impression of the material. Actually, Poser default cloth represents fine silk, which is known for high air damping (it gently floats down) and for low resistance values (silk folds very well). So, for my bolder impression, I increase the resistances and reduce the air damping, and I take serious steps doing so to get the noticeable results.

Default My settings
Fold Resistance 5 50 or 500
Shear / Stretch Resistance 50 250
Stretch Damping 0.01 0.1
Air damping 0.02 0.002

The first thing I notice is that the entire cloth folds onto the ground at about frame 20, much earlier as in the first run. This is due to the reduced air damping: the cloth floats less and falls faster.

Second, the “look and feel” of the cloth is mainly determined by the Fold Resistance parameter. Here you can see it raised from 5 to 50 (left) and then to 500 (right). The latter is the real heavy stuff.

Now, select the cloth as well as the latest frame in the simulation range

Click menu Object > Spawn Morph Target (give the result a decent name, like “Cloth over Car”)

 

 

 

Followed by menu Figure > Create Full Body Morph (you can use “Cloth over Car” again)

 

 

The first step defines the shape of the cloth as a morph target, the second creates a Morph Dial in the cloth properties (Pose Room):

 

 

 

To see the effect of this, [Clear Simulation] in Cloth Room, go back to simulation / time frame 1, change to Pose Room and change the Morph dial from 0 (flat cloth floating above the car) to 1 (cloth neatly folded as resulted from the simulation). We’ve frozen the sim results. Save your file.

Case Study: Covering Up (05 Pin and Move I)

Now I’m going to have fun with some animation. First, in Pose Room, I set the time slider to frame 1, and hide the cloth (properties, check Visible OFF). Then I select the car, move the slider to frame 30 and I move the car 6 to 7 meters in Z direction. I don’t care about rolling the wheels, that’s for later refinement when I’m up to it. Back to frame 1, and I unhide the cloth again.

After ensuring that the Cloth over Car morph dial is set to 1, I switch to Cloth Room and click [Edit Choreographed Group…] in panel 3. This opens the Group Editor, and I pick a few vertices from the cloth. The editor can be closed with the (red crossed) close button in the upper right corner.

The vertices we’ve just selected will be excluded from the cloth sim calculations, but will follow the preset movements of the cloth itself. If the cloth was animated like the car, those vertices would follow that animation (hence the name: choreographed). At the moment however I’ve not animated the cloth, and therefore the vertices in the Choreographed group will stay put while the car drives forward, underneath the cloth. I only have to [Calculate Simulation…] to make it happen. And wait a while, as most frames seem to take about 10 sec each, and I’ve got 90 of them (that makes say 15 mins, depending on your computer speed).

To view the result properly I’ve got to switch to Pose Room and set the Cloth over Car morph to 0. At frame 30 the result is like:

And that one spot seems glued to the ground.

So the cloth stretches a lot and then contracts while slipping off the car. I also see the Fold Resistance is 50.
So I set Fold Resistance to 500 to make the thick cloth with the fat folds, and I raise Stretch Resistance to 900. Another way is to reduce the Friction parameters to make the cloth slide easier over the car. I [Clear Simulation], I ensure that the Cloth over car morph reads 1 again, and I [Calculate Simulation…] again. When done, I set Cloth over Car morph to 0 (Pose Room), select frame 20 as it shows a fun result and render. This is it:

and you see that the cloth stretches far less, and sort of jumps from the car. When you want, you can enhance the scene by putting a pylon, or a high heeled girl, right onto the glued spot as if that object or figure is nailing the cloth down while the car drives away.
By using menu Object > Spawn Morph Target and menu Figure > Create Full Body Morph at say frame 90 you can freeze the sim result again.