Page 4 of 6

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 14:57
by j3st3r
rray, can you share your setup for short hair? I wanna make a short haired guy, but I really don't know how to start... :(

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 15:03
by rray
You can find the scene with the short curly hair here.

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 20:08
by j3st3r
Thanks Reinhard,

Actually now I'm in deeeeeep trouble, I can't create decent short hair with Kristinka...anybody has some idea to help me?

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 21:07
by Mathaeus
Jester,

what short hair.... if you can show some picture.... There are so many hairdos, it seems to be really hard to find an unique workflow for all.

Cheers

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 21:13
by j3st3r

Re: Kristinka Hair Tests

Posted: 01 Nov 2010, 22:29
by Mathaeus
if you want to do that in procedural way .... (I believe most of people would prefer brushes from standard XSI hair, for short hair setups), probably you can try this one

Setup is a mod of 'fur from nurbs' example, with improved 'vector field' compounds. Hair's orientation is created by nulls. For now there are three options: null's Y axis as direction, direction to null itself, circle around null's Y axis. Scaling of nulls modifies the influence.
Or another one ( kH2 Vector Field by Curve) that takes direction from curve.

Nodes are new, very different than ones from last release (incompatible with 'fur' nodes...) .

I created these last Vector field nodes for fur and feathers, if this fits for hair....it would be nice.

Cheers

Re: Kristinka Hair Tests

Posted: 02 Nov 2010, 06:33
by j3st3r
Thanks Anto, I'll give it a try!

Cheers


Jester

Re: Kristinka Hair Tests

Posted: 02 Nov 2010, 11:00
by shadow_ex_
great work on both models and hair :D ;) <------
i will check the thread later more carefully b-( ^^ |
|
edit: checked.goes back to the first line --------------------|

Re: Kristinka Hair Tests

Posted: 03 Nov 2010, 20:32
by j3st3r
So it seems that I got the meaning. But, if I connect the Kh2 Strand Length node to the guide ICE tree, it renders only a small portion of the hair. When I disconnect, the hair is rendered properly. Any idea?

Re: Kristinka Hair Tests

Posted: 03 Nov 2010, 23:00
by rray
Nice work on these new nodes, Anto.
Jester, I've never had that effect you describe - it could theoretically be that since the guides are referenced to build interpolated hair, the strand length node could have some unwanted side effects. If that is so, it probably shouldn't be used on guides. It's always difficult to debug having only a written description (lots of room for interpretation ;-).

Re: Kristinka Hair Tests

Posted: 03 Nov 2010, 23:12
by Mathaeus
Actually, it can be that some attributes, used by hair filler point cloud, aren't interpolated properly by kH2 Strand Length node (as it does complete 're construction' of everything) - but this should be visible in view ports.

And yes, 'safe' usage of kH2 Strand Length would be at the end of hair filler's ICE tree - 'hair' is interpolated between three closest guides, if these three are varying too much, interpolation will become wild - but this also should be visible in view ports.

btw, it seems to be a new issue :)

Re: Kristinka Hair Tests

Posted: 04 Nov 2010, 06:59
by j3st3r
Meanwhile I resolved the issue, I was driving the parameter with the weightmap but it made a mess, so I drive the length with the weight on another node. Now, the question is how can I set the thickness of the rendered hair?

Re: Kristinka Hair Tests

Posted: 04 Nov 2010, 18:32
by izze
Use KH2 Strand fCurve in SI Units on the size port in the emitter compound.

Re: Kristinka Hair Tests

Posted: 04 Nov 2010, 22:31
by Mathaeus
j3st3r wrote:Meanwhile I resolved the issue, I was driving the parameter with the weightmap but it made a mess, so I drive the length with the weight on another node.
I was unable to repro this, but anyway, kh2 Strand Length node, as it is for now, allows to set length over 'ratio' 1 ('ratio' is relative strand length). Probably you won't do that manually, but a mix of some nodes, plugged into 'factor', can do that. It's 'no good' for rendering, because of multiple strand positions on the same place. From my (empirical) knowledge with older XSI versions, this can cause NaNs with Hair Geo shader, or memory leak with pHair_TK shader. Standard XSI Hair shader seems to have some mechanism to avoid these problems (at least I think so...)

Here is a kh2 Strand Length node that doesn't allow the strand positions to 'group' at the end of strand.

That's all what I found with this node, that can cause problems. Maybe... on very short length, it can also set the strand positions on top of each other. Other than that, as RRay said: 'written description = lots of room for interpretation ' :).

Cheers

Re: Kristinka Hair Tests

Posted: 03 Feb 2011, 09:25
by j3st3r
Guys,

Is it possible to replace hair with polygonal strips? I'm considering to create a polygon hair for game, but I need to replace the strands with poly strips. Any idea?

Re: Kristinka Hair Tests

Posted: 03 Feb 2011, 10:48
by Mathaeus
j3st3r wrote:Guys,

Is it possible to replace hair with polygonal strips? I'm considering to create a polygon hair for game, but I need to replace the strands with poly strips. Any idea?
Of course. Actually about half of development was a prototyping for something like that.
Here is the thread. You'll need some of Helge's hair addons, Melena or MT_strands.

For anything further that I can possibly help, please post in mentioned thread - just to keep everything in one place.

Cheers