rendering hair ..

Discussions regarding Materials, Material-Compounds or Shaders, etc.
User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

rendering hair ..

Post by farhaad_yousefi » 12 Dec 2011, 04:15

hi
i have a dandelion build up..and it's with the hair system
but all the hairs that turns into the camera ..go invisible..on close shots
how can i fix this problem, i mean the hair thickness doesn't seem to solve it either..looks like the hairs are paper bars..!! ~o)

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: rendering hair ..

Post by Hirazi Blue » 12 Dec 2011, 20:51

From this thread on the Mailing List - which talks of strand-based hair, but for rendering purposes there shouldn't be any difference - I gather that it might help to switch from the "Hair Shader" to the "Hair Gradient Shader" (the old "Hair Geo Shader")

Quoting Alan Fregtman from the aforementioned thread:
The default hair shader (if I'm not mistaken) draws shaded lines. The
alternate factory one I remember would render tubes of geometry --
kinda looked like tubes with a default phong.
;)
Stay safe, sane & healthy!

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 20:57
Location: São Pedro de Moel

Re: rendering hair ..

Post by sant0s » 12 Dec 2011, 22:40

did you any brush action to the hair? becouse if not, i think its normal that there is some kinda "skinhead". the hair grows away to the objects normal - so if you have a sphere, there will be always a part, where you can see through :)

so maybe your hair does not disapear, you only see the tiny tip of some hairs? just an idea.

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: rendering hair ..

Post by Mathaeus » 12 Dec 2011, 23:20

Hirazi Blue wrote:From this thread on the Mailing List - which talks of strand-based hair, but for rendering purposes there shouldn't be any difference - I gather that it might help to switch from the "Hair Shader" to the "Hair Gradient Shader" (the old "Hair Geo Shader")

Quoting Alan Fregtman from the aforementioned thread:
The default hair shader (if I'm not mistaken) draws shaded lines. The
alternate factory one I remember would render tubes of geometry --
kinda looked like tubes with a default phong.
;)
a bit of nit-picking (dr. Freud would have to say something about me, here), but I think this isn't true. I'd believe both of them draws a "flat" line, but hair "geo shader" simulates a tube-like shading, still on flat line, similar to shading method of old particles. Old names are probably a heritage from times of xsi 4 or earlier (exactly from my knowledge, XSI 3 EXP), when "hair renderer" used volume shading, geo shader meant no-volume.
I'd try something along sant0s's advice.

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: rendering hair ..

Post by farhaad_yousefi » 13 Dec 2011, 00:34

i've solved the problem using 3delight,it's awesome on hairs.and fast.. 3:-O
but still curious about this solution.. *-:)

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: rendering hair ..

Post by Mathaeus » 13 Dec 2011, 00:49

farhaad_yousefi wrote:i've solved the problem using 3delight,it's awesome on hairs.and fast.. 3:-O
but still curious about this solution.. *-:)
3delight out-of-the-box is also 'flat line', For tubes, I think the only way is to go with some mesh extrusion along strands.
On the same mailing list, there is a post with something tube-like, post is about carpets. Rendered in Arnold. Are these tubes 'real', I don't know, of course.

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: rendering hair ..

Post by Hirazi Blue » 13 Dec 2011, 07:47

Mathaeus wrote: a bit of nit-picking (dr. Freud would have to say something about me, here), but I think this isn't true. I'd believe both of them draws a "flat" line, but hair "geo shader" simulates a tube-like shading, still on flat line, similar to shading method of old particles. Old names are probably a heritage from times of xsi 4 or earlier (exactly from my knowledge, XSI 3 EXP), when "hair renderer" used volume shading, geo shader meant no-volume.
@Mathaeus - You're probably right, I was merely quoting from that thread, not speaking from direct experience, assuming that the fact the thread ended quite abruptly shortly after that and there was no outcry of the "no you're wrong" kind, that there might be something to it.
;)

edit: how about hair instancing?
Stay safe, sane & healthy!

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: rendering hair ..

Post by farhaad_yousefi » 14 Dec 2011, 09:34

you're right.. :( still hiding the hairs when pointing to the camera..though the bad shadowing is gone..but ..i can't seem to get any shadow..maybe because of the shadow map.!?!?

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 20:57
Location: São Pedro de Moel

Re: rendering hair ..

Post by sant0s » 14 Dec 2011, 09:43

can you post an image?

with dandelion you mean this flower where you can blow away the seems, right?

maybe you should try hirazis tip with instances.

create one seem like on this picture: http://img.fotocommunity.com/photos/12928810.jpg and use as instance.

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: rendering hair ..

Post by Hirazi Blue » 14 Dec 2011, 11:47

You could try playing with the "Render Settings > Shading Model"
and more specifically with the "Normal Blend" (read all about here)
;)
Stay safe, sane & healthy!