Announcement

Collapse
No announcement yet.

Dirt radius

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

  • Dirt radius

    Hi,

    The dirt texture has something of a unique thing with the radius. Usually when a texture is plugged into an input, the corresponding value gets disable (the texture overrides the value). But with the radius input of the dirt texture this does not happen, when using a texture the value still works, but in a strange way since the input texture is not modulating the radius value, you need to set the white point of the texture to the same value in the radius parameter, this is quite counter intuitive compared to the rest of Houdini and other V-Ray nodes.
    Can you make the radius either be modulated by the input texture, or the radius value be overwritten by the texture?

    Using the radius only:
    Click image for larger version

Name:	dirt_01.JPG
Views:	286
Size:	54.2 KB
ID:	1103371
    Plugging a texture with a 0-1 range:
    Click image for larger version

Name:	dirt_02.JPG
Views:	234
Size:	73.0 KB
ID:	1103373
    Setting the white point of the noise to the same value as the radius:
    Click image for larger version

Name:	dirt_03.JPG
Views:	222
Size:	64.9 KB
ID:	1103372

    Best,
    David.
    David Anastácio // Accenture Song - VFX
    https://www.accenture.com/us-en/serv...visual-effects

  • #2
    Originally posted by david.anastacio View Post
    But with the radius input of the dirt texture this does not happen, when using a texture the value still works, but in a strange way
    Hi David,

    Your texture is multiplied by the radius value here(similar to "multiply" functionality in Curvature texture in Arnold for example)
    This way I can control strength of my dirt/dust in one place, without needing to color correct the image map. I've used this heaps in my Vray shading, in every project honestly
    This is the same functionality in pretty much all other Vray plugins, Myself and other people requested this early in the Beta couple of years ago(we wanted this functionality similar to Vray for 3Ds Max)




    Muhammed Hamed
    V-Ray GPU product specialist


    chaos.com

    Comment


    • #3
      Click image for larger version

Name:	Screenshot_53.jpg
Views:	203
Size:	46.7 KB
ID:	1103386

      It is part of the documentation for the dirt
      Muhammed Hamed
      V-Ray GPU product specialist


      chaos.com

      Comment


      • #4
        Originally posted by Muhammed_Hamed View Post
        Hi David,

        Your texture is multiplied by the radius value here(similar to "multiply" functionality in Curvature texture in Arnold for example)
        This way I can control strength of my dirt/dust in one place, without needing to color correct the image map. I've used this heaps in my Vray shading, in every project honestly
        This is the same functionality in pretty much all other Vray plugins, Myself and other people requested this early in the Beta couple of years ago(we wanted this functionality similar to Vray for 3Ds Max)



        Hey,

        That's not what is happening at the moment as you can see from my screenshots. The texture is not properly modulating/multiplying the radius value.

        From the documentation;
        "The texture intensity is multiplied by the radius to calculate the final radius at a given surface point. If the texture is white at a given surface point, the full radius value is used. If the texture is black, a radius of 0.0 is used."
        In the first image you can see that the dirt radius is set to 0.05, in the second a noise map was added and its values range from 0 to 1, so in white parts of the texture a radius of 0.05 should be used, but we can see that is not what's happening, a value of 1.0 is being used there since the whole box is affected. The white value of the texture is lowered in the 3rd image to 0.05 and only then the correct radius is achieved.

        Best,
        ​​​​​​​David.
        David Anastácio // Accenture Song - VFX
        https://www.accenture.com/us-en/serv...visual-effects

        Comment


        • #5
          Radius should multiply if texture is connected. Fix push to 5.x.
          V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
          andrei.izrantcev@chaos.com
          Support Request

          Comment


          • #6
            david Thanks for explaining that, sorry I didn't understand the issue fully yesterday.. was a bit late
            And thanks Andrei for the fix !
            Muhammed Hamed
            V-Ray GPU product specialist


            chaos.com

            Comment


            • #7
              Originally posted by bdancer View Post
              Radius should multiply if texture is connected. Fix push to 5.x.
              Thanks for the fix.
              This raises an issue actually, everyone upgrading will have their dirt textures behave differently and this will break their current shaders, as long as this is communicated to the users, there should be no problem. Please see my wishlist request: https://forums.chaosgroup.com/forum/...duction-builds
              Originally posted by Muhammed_Hamed View Post
              david Thanks for explaining that, sorry I didn't understand the issue fully yesterday.. was a bit late
              And thanks Andrei for the fix !
              All good

              Best,
              David.
              David Anastácio // Accenture Song - VFX
              https://www.accenture.com/us-en/serv...visual-effects

              Comment

              Working...
              X