Announcement

Collapse
No announcement yet.

UV Tiles: Clamping displacment

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

  • UV Tiles: Clamping displacment

    Hey,

    I'm using the $U $V variables to load in two uv tiles (1_1, 2_1). When I load up a single tile with out the variables, the displacment looks fine, but when i use the variables, my displacment looks clamped. I tested normal and 2d displacment, both suffered from this. I've attached an example. I have enabled negative colors, we are using 32bit displacments.
    Click image for larger version

Name:	kartos_2.jpg
Views:	1
Size:	37.6 KB
ID:	873826Click image for larger version

Name:	kratos_1.jpg
Views:	1
Size:	39.5 KB
ID:	873827

    Vray for Maya 2.00.04
    Maya 2011

    Any ideas?

    Cheers!

    Nicko

  • #2
    You need to manually adjust the min/max displacement bounds in the V-Ray displacement control attributes. With a single file, V-Ray can figure out the bounds automatically, but with tiles it doesn't even know what files to look at until they are actually loaded.

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

    Comment


    • #3
      Ok, ill do some more tests.

      Nick

      Comment


      • #4
        Did some tests
        Click image for larger version

Name:	DispTilesTest.jpg
Views:	1
Size:	259.2 KB
ID:	844895
        Normal displacement:
        Even with my bounds set at -5000,+5000, my displacement is getting clamped. Also, my second tile is displacing way more than my first one.

        2d displacement:
        Bounds are disabled, yet my displacement is still clamped. Second tile isn't causing any problems here.

        So, neither option seems to work?

        Comment


        • #5
          Did you also enable the "allow negative shader colors" option in the V-Ray global options (I'm thinking we should enable this by default...)

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

          Comment


          • #6
            Sure did, i might make a managable test scene and up load it. It looks totally fine setting the bounds manually, but it clamps as soon as I add another tile.

            Comment


            • #7
              Yes, in that case a scene will be helpful, as it works fine here in my simple tests.

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

              Comment


              • #8
                just curious how do you add other tiles? are you physically loading another filenode, or are you using a tile tag? what if you try loading them using filenodes and see if that works?
                Dmitry Vinnik
                Silhouette Images Inc.
                ShowReel:
                https://www.youtube.com/watch?v=qxSJlvSwAhA
                https://www.linkedin.com/in/dmitry-v...-identity-name

                Comment


                • #9
                  just curious how do you add other tiles? are you physically loading another filenode, or are you using a tile tag? what if you try loading them using filenodes and see if that works?
                  We are using the tile tag. If we load them individualy, it works fine, its just the tile variable that seems to clamp them.

                  Comment


                  • #10
                    well Im looking at out setup right now, we actually have allow negative color in the file texture as oppose to the vray globals. Try that. It seems to work fine for us.
                    Dmitry Vinnik
                    Silhouette Images Inc.
                    ShowReel:
                    https://www.youtube.com/watch?v=qxSJlvSwAhA
                    https://www.linkedin.com/in/dmitry-v...-identity-name

                    Comment

                    Working...
                    X