If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Exciting News: Chaos acquires EvolveLAB = AI-Powered Design.
To learn more, please visit this page!
New! You can now log in to the forums with your chaos.com account as well as your forum account.
Announcement
Collapse
No announcement yet.
Can vray hair mtrl 3 color propagate from underlying mesh material?
Can vray hair mtrl 3 color propagate from underlying mesh material?
I'm doing some hair tests. Is there any way to take the hair color (which is set in the vray hair material) and have the color propagate from the color of the underlying mesh?
Unfortunately no. For Maya Hair, we don't have any information that would allow us to make a connection between the hairs and their source geometry.
It should work for VRayFur though.
Best regards,
Vlado
It works with me, or i am wrong ?
I use the "hairColor" from the "VRayHairSampler" node, and connect the same texture in the "hair color" of the hairSystem and the sphere.
It's a bit manual setup though; I thought evanerichards wanted the color to be automatically taken from the diffuse color of the sphere material... or am I wrong?
It's a bit manual setup though; I thought evanerichards wanted the color to be automatically taken from the diffuse color of the sphere material... or am I wrong?
Best regards,
Vlado
If i understand my trick/hack :
There are FollicleShape which put the hairs. Each follicle have "parameter U" and "parameter V", based of the UV of the sphere.
When you connect a 2d texture in the hair color of the hairSystem, the hair will take the color of the 2d texture based of the U and V of the follicle. So, the hair will take the same color that the sphere.
So, if i connect the "hairColor" of a "VRayHairSampler" node on the VRayHairMtl, the "VRayHairSampler" will take the color of the hair color of the hairSystem (so, the color of the mesh).
Yeah, this is what I ended up doing and it worked. I connected the R G B channels from the color out of my image to the R G B of the VrayMaterialHair 3 primary colors and overall colors and BAM! It works.
good stuff.
So I think I made this work. Its based around the same example as I posted in post before, however I modified it to work with maya hair. I didnt test it on 2.4 branch but in 3.0 it works. Give it a try.
Comment