Announcement

Collapse
No announcement yet.

driving a vray tile with gradient map

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

  • driving a vray tile with gradient map

    I am trying to connect a gradient to the values for:
    Fade Variance
    Color Variance
    Holes %
    even having a gradient in the color channel for the tiles would be great

    None seem to work. Am I doing something wrong or are they just not supported by vray?
    Last edited by BVA; 25-05-2016, 06:22 AM.

  • #2
    Click image for larger version

Name:	mosaic.jpg
Views:	1
Size:	106.6 KB
ID:	862155

    I am trying to achieve this effect. We often need to get mosaics that fade from one color to another...

    Comment


    • #3
      Fade Variance
      Color Variance
      Holes %
      These channels don't support textures connected to them, that's how the V-Ray plug-in implementing the V-Ray Tiles texture works.
      That's why they don't show up in the Schematic when you drag a V-Ray Tiles texture there.

      even having a gradient in the color channel for the tiles would be great

      None seem to work. Am I doing something wrong or are they just not supported by vray?
      This should work, but I guess you want to have each tile have its own color ?
      That will be more difficult to achieve.
      The Bercon Tiles texture has a feature like this, but it is not ported to our V-Ray plug-in and V-Ray for MODO;

      You can do something like this, but is a bit hard to control the color, and the mortar is wrong.

      Click image for larger version

Name:	vray_tiles_colors.PNG
Views:	1
Size:	215.2 KB
ID:	862157

      vray_tiles_colors.zip

      Greetings,
      Vladimir Nedev
      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        We got it solved...sort of. But it is not an easy setup . Thanks for taking a look
        Click image for larger version

Name:	mosaic_Gradients.jpg
Views:	1
Size:	499.2 KB
ID:	862158

        Comment


        • #5
          Originally posted by BVA View Post
          We got it solved...sort of. But it is not an easy setup . Thanks for taking a look
          [ATTACH=CONFIG]30436[/ATTACH]
          Looks good. I achieved something similar. Probably works in a very similar way as well.
          Posting it if other people are interested.

          Click image for larger version

Name:	vray_tiles_mosaic_gradient.PNG
Views:	1
Size:	455.2 KB
ID:	862159

          vray_tiles_mosaic_gradient.zip

          Edit : you have 2 gradients in my setup, one controls the transition between different colors, the other controls the colors themselves.
          There will be some color interpolation inside a single tile, so it is not perfect, but for small tiles, it is not very noticeable.

          Greetings,
          Vladimir Nedev
          Last edited by vladimir.nedev; 25-05-2016, 07:29 AM.
          Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

          Comment


          • #6
            Would you mind to explain your setup? It seems to be easier than our setup but I cannot find info in the help tab on the "inVal" connection you made.
            So basically you have a gradient that gives the color and the tile breaks it up, right?

            Comment


            • #7
              Originally posted by BVA View Post
              Would you mind to explain your setup? It seems to be easier than our setup but I cannot find info in the help tab on the "inVal" connection you made.
              So basically you have a gradient that gives the color and the tile breaks it up, right?
              The first gradient is black to white, then the V-Ray Tile texture breaks it into black/grey/white tiles (with variation), then the result of this is piped through another gradient to give it color.
              When you have something connected to inVal, it drives the gradient and the Input Parameter is ignored.

              It my example, it would be the same if I had the V-Ray Tile texture's effect set to Driver A and then chosen Driver A as the Input Parameter of the gradient texture that has a connection to its inVal channel (the connection should be deleted in this case).

              In my setup the grout/mortar color is wrong, so you would need an additional instance of the tile texture to fix it (and probably a constant texture as well).

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Really interesting case and trick.

                IMHO it will be useful to keep track of this kind of tips and tricks, since Modo can be a bit mysterious about how to get this kind of result, even after reading the manual. Maybe with sticked topics on this forum or in a "examples" section on the V-ray online help ?

                Comment


                • #9
                  Originally posted by John_Do View Post
                  Really interesting case and trick.

                  IMHO it will be useful to keep track of this kind of tips and tricks, since Modo can be a bit mysterious about how to get this kind of result, even after reading the manual. Maybe with sticked topics on this forum or in a "examples" section on the V-ray online help ?
                  Agreed, I think it might be a good idea to have a section where we can share tips and knowledge.

                  Comment


                  • #10
                    Originally posted by vladimir.nedev View Post
                    The first gradient is black to white, then the V-Ray Tile texture breaks it into black/grey/white tiles (with variation), then the result of this is piped through another gradient to give it color.
                    When you have something connected to inVal, it drives the gradient and the Input Parameter is ignored.

                    It my example, it would be the same if I had the V-Ray Tile texture's effect set to Driver A and then chosen Driver A as the Input Parameter of the gradient texture that has a connection to its inVal channel (the connection should be deleted in this case).

                    In my setup the grout/mortar color is wrong, so you would need an additional instance of the tile texture to fix it (and probably a constant texture as well).

                    Greetings,
                    Vladimir Nedev
                    Thanks for the efford on this Vladimir. Personally i had a really hard time getting it to work. Your setup was a lot easier and our end result was better with your solution. I searched the help in Modo, i could not find anything on the [B]inVal[B] parameter. I was not aware of this connection before now.

                    Comment


                    • #11
                      Originally posted by John_Do View Post
                      Really interesting case and trick.

                      IMHO it will be useful to keep track of this kind of tips and tricks, since Modo can be a bit mysterious about how to get this kind of result, even after reading the manual. Maybe with sticked topics on this forum or in a "examples" section on the V-ray online help ?
                      Maybe we can add a sticky with links to these threads.

                      Thanks for the efford on this Vladimir. Personally i had a really hard time getting it to work. Your setup was a lot easier and our end result was better with your solution. I searched the help in Modo, i could not find anything on the [B]inVal[B] parameter. I was not aware of this connection before now.
                      You don't need inVal. Here is the same thing without the "inVal" connection. Instead, the "Driver A" effect is used.
                      I've also added a constant texture that controls the "grout" color.

                      Click image for larger version

Name:	vray_tiles_mosaic_gradient_driver_a.jpg
Views:	1
Size:	448.4 KB
ID:	862213

                      vray_tiles_mosaic_gradient_driver_a.zip

                      Greetings,
                      Vladimir Nedev
                      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

                      Comment

                      Working...
                      X