Announcement

Collapse
No announcement yet.

Hair rnd by strand

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hair rnd by strand

    Heya,

    I am somehow too stupid to use the rnd by strand feature.

    Anyone who can help me out?

    Thanks Paul
    VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

  • #2
    In the latest nightly builds, the VRayHairSampler texture has a "random by strand index" output that you can use to drive a ramp, for example.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Heya,

      I have the nightly from yesterday. Do I need to upgrade?
      And into which connection of the ramp should I connect the output? uCoord?

      Paul
      VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

      Comment


      • #4
        Hi,

        The nightly from yesterday is good for the random by strand output. If you're using a Uramp connect to uCoord, for vRamp - vCoord. Hope that helps.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          Hm, not working. I try to use it with VRay fur, maybe this is the problem?
          VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

          Comment


          • #6
            Ah, that's probably it. It works for Yeti and Maya hair, but not for VRayFur yet. For VRayFur, you can try using a fine noise map to color the strands.

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment


            • #7
              Okay, sure noise works too Thanks for the info.
              VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

              Comment


              • #8
                I can't get random by strand to work with Shave Display through a ramp shader. Is this a known issue? When I hook up the random by strand feature (in the hair filter) to a vramp I just get a single color even though there are 2 or more colors in the ramp. This is even visible in the hypershade preview icons.
                Last edited by jpwestmas; 15-09-2013, 06:50 PM.

                Comment


                • #9
                  I'm not sure it works for S&H either; I will have to check.

                  Best regards,
                  Vlado
                  I only act like I know everything, Rogers.

                  Comment


                  • #10
                    Thanks Vlado, what's interesting to me is that a B&W Vramp works fine with defining distance along strand and then plugging that into transparency. So I guess there is some kind of limitation centered around random colors for some reason. I'm essentially attempting to get more of a salt-pepper variation in the hair colors to express age, dirt or color highlights.

                    Comment


                    • #11
                      Originally posted by jpwestmas View Post
                      Thanks Vlado, what's interesting to me is that a B&W Vramp works fine with defining distance along strand and then plugging that into transparency. So I guess there is some kind of limitation centered around random colors for some reason. I'm essentially attempting to get more of a salt-pepper variation in the hair colors to express age, dirt or color highlights.
                      Why don't you use the Shave & Haircut controls for that (mutant color or something), and then just set VRayHairInfoTex to use the Hair&Fur color?

                      Best regards,
                      Vlado
                      I only act like I know everything, Rogers.

                      Comment


                      • #12
                        Originally posted by vlado View Post
                        Why don't you use the Shave & Haircut controls for that (mutant color or something), and then just set VRayHairInfoTex to use the Hair&Fur color?

                        Best regards,
                        Vlado
                        Because I didn't know about it or how it could be used with Shave. I'll give that a try.
                        Last edited by jpwestmas; 16-09-2013, 09:38 AM.

                        Comment


                        • #13
                          Originally posted by vlado View Post
                          Why don't you use the Shave & Haircut controls for that (mutant color or something), and then just set VRayHairInfoTex to use the Hair&Fur color?

                          Best regards,
                          Vlado
                          I can't find any info on its whereabouts. Is this VrayHairInfoTex a node by itself or is it a connection part of another node?
                          Last edited by jpwestmas; 16-09-2013, 10:04 AM.

                          Comment


                          • #14
                            Originally posted by jpwestmas View Post
                            I can't find any info on its whereabouts. Is this VrayHairInfoTex a node by itself or is it a connection part of another node?
                            It's basically the hairSampler node in the utilities section of the hypershade.
                            Alex Yolov
                            Product Manager
                            V-Ray for Maya, Chaos Player
                            www.chaos.com

                            Comment


                            • #15
                              Originally posted by yolov View Post
                              It's basically the hairSampler node in the utilities section of the hypershade.
                              So what everybody is saying is: just Connect the "out color" or "hair color" output (of the hairSampler) to the overall color of the Vray Hair material? Which in turn uses the color settings from shave.

                              yes, that does work, but like I mentioned somewhere else, it does render 30% slower then. I guess that's to be expected.

                              Comment

                              Working...
                              X