Jump to content
Hash, Inc. Forums

Community Model- AManda


Recommended Posts

Meet AManda!

 

Jirard had posted a model, and I saw great potential in it and built upon it... and thought it would be a great idea to use as a community building/learning project- see where it goes! I learned a lot by looking at Jirard's wonderful minimal splineage, and my model- if studied, will teach some of my tricks and 'bad habits'...

 

Now, Jirard was going to take it and add teeth and... whatever from there. For now- it is just a female head. I added minimal bones and some poses. Feel free to DL this model or project and add to it... we'll figure-out a way to combine progress as we go. Show us YOUR tricks!

AManda2.gif

  • ____ 4
Link to comment
Share on other sites

  • 5 weeks later...

OK--- did a little work on hair today... still a lot to tweek. I will let a test animation render overnight. I dug-up this old thread where I learnt to use an image to control hair placement, giving AManda a nice widows-peak that does not rely on patches... https://www.hash.com/forums/index.php?showtopic=34198&hl=hair+decal&do=findComment&comment=290226

HNY_000.png

HNY_000.png

  • ____ 2
Link to comment
Share on other sites

Thanks-we'll see if it all flies caber-wonky in animation.... the trick here is a FORCE on the hair... I finally nudged it's magnitude all the way up to 50,000... it is constrained to her head-bone to move with it... so in the 2nd picture you can better see the 'widow's peak'...

 

ALSO- you will see in the animation that I added your teeth model to her with some gums and a tongue.

Link to comment
Share on other sites

SO- when making a hair decal- I know that an alpha channel is not needed and that white means hair and black means, no hair... so with length I suppose it would follow suite where... black means very short hair and white is very long hair and the shades of grey in between are the intermediaries? I will investigate this tomorrow!

  • ____ 1
Link to comment
Share on other sites

AND- as predicted, the hair went caber-wonkey upon render with the simple head move. Not too bad...(movie file attached) it is mostly a cavalcade of hair-mass falling forwards as the head tilts and overpowering the force- I am not sure the force is the way to go, I have experimented with them in the past and wound-up with models that have 4-5 forces attahed to the head and I am forever adjusting magnitudes... so-

 

I will experiment with these image-driven hair properties... length and direction. Now- how would the direction option work? I imagine like a normal map where various colors shade the normal in differing directions?

 

FIRSTLY... I will need to make a pose where I flatten my hair group of patches so that I can properly UV these images I will be making in Photoshomp.

 

NEXT- our AManda will be needing a body... anyone?

AManda4.mp4

Link to comment
Share on other sites

This is the Reader's Digest version of UV mapping in A:M... rather simple. I selected the scalp group (I had named 'hair-here'...) hid everything else and made a new pose, named it 'HAIR FLATTENER' and did a distortion, and scale operations and then played with bias handles and moved CP's as I saw fit until I got a nice flat mass to apply decals to.

aaa_4.jpg

  • ____ 1
Link to comment
Share on other sites

aaa_7.jpgYou can tweeek endlessly when it comes to hair! Thought I would post a WIP, this is a fun project to have going on in the background. In this image, you can see the force which is keeping the hair at bay from the forehead and face.

  • ____ 2
Link to comment
Share on other sites

I am getting really good feedback from the image-based hair controls for 'density' and 'length', and I am using a different method for 'color' (the hair's color property offers the ability to change color and other factors such as ambiance, specularity, variation amount... down the length of the hair strand- which is really very cool and you can see it in the image above where the hair's roots are darker then get blonder as they lenghten...) These 2 controls work off a simple greyscale image, for length black means short and white means long and for density black means no hair and white means full hair.

 

BUT I can not get a handle on the 'direction' option. I've tried greyscale and a 'normal map' type color image, and experimented with variants of both but can not seem to determine what makes a hair go off in a predetermined direction. Anyone have any input on how this might work?

 

ALSO- the key I am finding is to test-test-test, with full animation feedback. I am using my NetRender WITHOUT baking the hair at all, and it is working fantastically.

Link to comment
Share on other sites

  • Admin

For direction you'll want to check out Colin Freeman's appication as well as the basic insights into how color directs hair orientation.

 

http://www.colins-loft.net/hairbrush.html

 

The application is flash based and so will not run in many modern broswers but there is a downloadable program on that page. The painted results in the window can then be exported for further testing.

 

 

During one of the Live Answer Sessions we explored this and Robert even demo'd basic use via Photoshop.

HairBrush.png

Link to comment
Share on other sites

  • Admin

Here's an example of what that painting produces after blurring the image:

 

 

(I applied the same image as color.... but not sure why the color and the direction aren't the same in each instance as they seem to be inverted vertically)

HairDirectionColors.png

Link to comment
Share on other sites

Awesome- Thanks Rodney- I'm OFF!

 

EDIT- I see it is a rather old demo... uses the 'old' style of hair... hope it works with today's hair. (did you use the new hair for your test?- I'm sure you probably did...)

 

EDIT-image- WHOA! Look at all the properties the old-style hair could have image-controlled!

aaa_5.jpg

Link to comment
Share on other sites

  • Admin

I think that perhaps I don't know what 'new hair' is.

I was under the impression this was all working with the newest hair available.

 

Edit: I do see where his site references old hair. Wow. I had forgotten that was with old hair.

As an aside keep in mind we can still use the old hair locks by holding down the Shift key when creating the new hair.

And technically speaking we may have all those old options... which I didn't think we still had.

 

 

Matt, you sly fox.

You've revealed a long lost feature (at least lost to me!)

Link to comment
Share on other sites

Rodney- I think Martin rewrote the code(or had one of his guys do it) around version 12 or 13. The new hair was supposed to be better ar collision-detection... which was something I was very excited about. If you look at the image of the AManda with the hair resting and her shoulders and not passing through her shoulders That is the look I have strived for.

 

Rob- I think there is a myriad of uses for direction mapping. One thing that I did learn in my tests. Is that the color map affects the base root Of the hair and that as the hair gets longer and further away from the base the dynamics take over and anything can happen. But having that initial direction can be instrumental in getting the look you are after.

Link to comment
Share on other sites

  • 2 weeks later...

More toying with IBL renders... the 1st image uses the image I posted as the lighting source, the 2nd has the image used as fog is lighting the scene, both have 1 additional light near the camera with shadows and specularity on. I do not know where the green fill is coming from on the 1st image...

HNY2_006.png

HNY_006.png

IBL_window.jpg

  • ____ 1
Link to comment
Share on other sites

Rodney, no... just 1 light in that scene... renders quick at just under 3min per frame @1280X720.... an inverse(negative) white light would render as eminating darkness... I suppose a red light would be green in inverse-land. Negative lights are a powerful feature I stumbled on by chance!

 

Here is an animation! Hit Cntrl_L in quicktime to make it loop.

AMandaY_LOOPER.mov

Link to comment
Share on other sites

In real life, a colored light casts a shadow that is its opposite on the color wheel. We did this in one of my freshman art classes. We took a white cue ball on a white poster board and put colored gels on a light in a photo darkroom. A red light would cast green shadows. The point of the exercise was to expose us to the idea that shadows weren't simply black.

  • ____ 1
Link to comment
Share on other sites

Okay- I am done toying with A:M hair- it is what it is... here is the zipped assets if anyone is interested in seeing settings or learning about long hair in A:M... or just wants a cool model! I borrowed some VO from Scarlett JoHanssen in the movie 'Her'. There is a longer clip in there- I may try some more lip-synch with.

 

I've found that it is not necessary but for Collision-Detection (CD) it helps to bake the hair... the resulting pai and par files I have omitted from the folder because they were 60mb+... so you would need to perform a 'bake' which for this 10 second clip takes about 30 minutes. ALSO- to help the CD, I have a thicker mesh that expands out over the face and shoulders that should be set to (PUSH MESH POSE 100%) and the force that keeps the hair off the face has a pose that can be activated/deactivated as well.

 

You can use any image in the chor settings to light the scene... I will attach the image I used if needed... have fun- hope someone gets something out of this someday... I will return to add a rigged body to AManda someday, maybe.

AManda_7.gif

AManda_Loop7 (1).mp4

Jirards AManda (2).zip

IBL_window.jpg

Link to comment
Share on other sites

Okay- I am done toying with A:M hair- it is what it is...(snip)

 

Hi Matt. Are you disappointed with your hair results?

 

It looks fine to me. Were the solutions that you came up to address your earlier problems practical ones or do they seem to be more trouble than they are worth?

 

Thanks for the demonstration model. I am gong to have a look at it and try to learn more about A:M's hair system.

Link to comment
Share on other sites

 

Okay- I am done toying with A:M hair- it is what it is...(snip)

 

Were the solutions that you came up to address your earlier problems practical ones or do they seem to be more trouble than they are worth?

Hi Mack- well, no. I have been 'toying' with A:M hair for 16+(YIKES!) years now... trying for something big. I was a little disappointed in this test seeing the hair 'sink thru' the shoulders toward the end. It was way before its time once(the A:M hair feature) and is still timely. Even watching a Blender hair tutorial I see a guru lamenting after his failed demo that 'you just have to eventually 'live with' the hair penetration that will inevitably occur. https://youtu.be/2YCQLZMuvkE skip to 10min15secs to see the hair fail. Other programs have great looking hair, but don't really work whence animated.

 

Ultimately, I would like to see hair that reacts realisticly under animated conditions, yet will not sink thru geometry when collision-detection conditions occur.

 

My solutions were more scientific than anything... the 'mesh' approach is a reaction to the hair particle needing a dense geometry to react to (theory) so I hide a dense mesh within the character and have a pose that expands it out OVER the skin area while the hair simulation is happening... once simulated, the pose can be de-activated for render. I make the dense mesh by copying the CPs where I expect collision to occur, like the neck and shoulders(and cheekbones) and paste them into a MESH group. Then, I use the Plug-In/Wizards/Push CP's feature to expand the patches along their normal and make a new pose for the result... I then make that new pose a +100/-100 range and in the -100 I shrink the CPs to be out-of-sight gone.

 

There are other theories I chase as well. For instance- there are 2 places where the hair's density can be set in the material: One, in the 'Hair System' and the other, in the 'Hair Emitter'. One of those is for how dense the 'mimickers' or 'populators' should be, and the other for how dense the 'hair guides' should be. The hair-guides I believe are the ones that actually react to grooming and collision-detection while the 'populators' merely mimic the nearby hair guide and even if the hair guide is properly not passing thru geometry, it's populators will because they are just 'offsets' and the offset may place it thru the mesh.

 

Then- there is the hair's 'Control Points' value which can make a strand stiff like a piece of uncooked spaghetti or limp like a piece of cooked spaghetti (hey! this value should be called 'al-dente'!) I would have to consider those points along the hair's length are used by the collision-detection as well.

 

Then- there is the basic dynamic targeting modes, Constraint, Spring or none. Then, there is bounce and friction... I honestly can not say what these effect and have tried values from default...zero, 10,000 with no discernable differences.

 

And THEN- there mis the mysterious 'Cull'... seems to hold some big powers- but how, what...?

 

There is much to explore and many hours to be frittered, warning!

 

Thanks for your interest - let me know what you learn.

Link to comment
Share on other sites

More experimenting, shaded low-res render... no baked hair, so the hair calculates at render time(fast)- with the force pose ON and the mesh ON too- but shaded transparent so the hair recognizes it but the renderer does not.

 

EDIT- updated rendered gif. I guess I still recommend baking the hair- it really helps for CD.

AManda-Bopper.gif

  • ____ 1
Link to comment
Share on other sites

SO THEN I'm getting a last render ready to go over the weekend when BAM! All my(Jirard's) 5 point patch's go away! Crap! Which brings the added joy of having to re-apply all decals that were on those patches in any way...grrr!

 

And some of them just don't want to close no matter what you do... and I see Jirard has a habit of 'hooking' to 5-pointers... which further complicates things.

Link to comment
Share on other sites

Ouch

If the 5 point patch won't close, there usually is a hook next to it.

I detach the hook and close the 5 point patch.

That sucks...

For stubborn 5 point patches I select the points, press H, select all and that usually works or I select them all in a different order.

Link to comment
Share on other sites

Thanks Matt for your comprehensive post!

 

I tried to understand the hair system long ago but it just seemed so complicated to me that I gave up. For example, understanding what all of those settings that you mentioned actually do is daunting to me.

 

Every time I see your results though I reconsider trying to learn about it again.

 

I'll let you know what I learn for sure. It may not be much at first but I'll share what learn anyway.

Link to comment
Share on other sites

Jirard- yep, that is my method too... fixing them 2 by two.

Mack- yeah- LOTS of settings, many seem redundant... and I haven't even TOUCHED the grooming tools on this... which are pretty nice in A:M. (I have a force connected to the model found in the bones folder.) that is always 'pushing' the hair back, then gravity does the rest.

Link to comment
Share on other sites

I noticed... she had lost her 'widows peak' somewhere along the lines... turns-out- setting the 'culling' setting anything less than 50%(default) makes you decal-driven 'density' go away and hair will populate on the entire hair group.

HNY_065.png

Link to comment
Share on other sites

  • 2 weeks later...

Reduced lip-size a little, added freckles and a wisp of hair in front... this is a combination of a full IBL lit shot and a standard default lighting setup halfmixed in After Effects... lens-flare by VideoCoPilot. I am finally mostly happy with the hair's collision-detection and interaction with the shoulders. I made a pose that I only turn-ON for the hair-bake-simulation, which brings the dense mesh out into position and tucks away things that could get in the way like the ears and earrings- then I turn the pose OFF for rendering.

AManda_talking (2).mp4

AManda-Talker.gif

  • ____ 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...