sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Displacement problem: ok on the preview but not rendering

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    18 Posts 6 Posters 4.0k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      decumano
      last edited by

      I resolved! Thanks.

      Finally I tried with a new layer, making the floor a group, creating a new material (using same texture and map but with different names)

      Don't know which one of this was the key, but now displacement works!

      Thank you all!

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        If you post a sample of a model where it doesn't work we can probably identify the cause.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • D Offline
          decumano
          last edited by

          Noooo, other problems with this displacement!

          Look at this, don't know why but when the floor texture is next to other textures, rendering with displacement it seems to fall down. Before posting this question I tryed checking/unchecking "invert" and changing white parts with black parts of the displacement map.

          floor.jpg

          Immagine1.jpg

          Immagine2.jpg

          thanks to all!

          1 Reply Last reply Reply Quote 0
          • jiminy-billy-bobJ Offline
            jiminy-billy-bob
            last edited by

            You should play with the "shift" value to fix this.

            25% off Skatter for SketchUcation Premium Members

            1 Reply Last reply Reply Quote 0
            • D Offline
              decumano
              last edited by

              No, dosn't work!
              This is the result playing with "shift" value... the white space increases

              floor_shift0.7

              floor_shift4

              I even tryied with a -1 value but with the minus sign the floor disappears.

              As you can see in the next picture using displacement the floor goes down. What should I do? Lower the dark-green stripe like the floor? I would like to raise the floor

              floor_bordo.jpg

              I do not know if I explained the problem well. I need a positive displacement, is it possible?

              Thanks!

              1 Reply Last reply Reply Quote 0
              • jiminy-billy-bobJ Offline
                jiminy-billy-bob
                last edited by

                If you put a negative value in the "Shift" field, you have to do the same for the "Water Level" (But you can put a large value, like -100, so you're sure it won't interfere)

                BTW, normally a positive shift will raise the displaced face, and a negative value will lower it. I gess in your case the face is reversed, with the back face looking up. And to get this displacement, I guess in your displacement map the tiles are black and the joints white ?
                Reverse the face and invert the displacement map. You'll get the same displacement, but with the shift value working normally (Positive will raise the face)

                25% off Skatter for SketchUcation Premium Members

                1 Reply Last reply Reply Quote 0
                • olisheaO Offline
                  olishea
                  last edited by

                  Make sure your face normal is definitely facing outwards. Check your monochrome view in SU just in case. As above, reversing faces can invert bump/displacement/instancing.

                  oli

                  1 Reply Last reply Reply Quote 0
                  • andybotA Offline
                    andybot
                    last edited by

                    try reversing the face of the floor geometry. That should raise your displacement in the other direction. You may need to invert your map (or not invert, whatever is the opposite of what you have set currently.)

                    Edit; oh, right, jbb says that above in the 2nd paragraph. I just saw the first part about the shifting and water level, and I don't think that will help in your case. displacement in vray is always in the positive direction to your face normal. I don't believe it's possible to have the displacement go "below" your face.

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • jiminy-billy-bobJ Offline
                      jiminy-billy-bob
                      last edited by

                      @andybot said:

                      I don't believe it's possible to have the displacement go "below" your face.

                      It can if you put a negative shift value. But by default the water level is at 0, so the face disappears.

                      25% off Skatter for SketchUcation Premium Members

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        decumano
                        last edited by

                        Oh, the water level, now I know what does it mean! Ok, I reversed the face and played with shift value.

                        Thank you all... but now there one other little problem:

                        floor_rev_disp0.4_shift-0.4.jpg

                        As you see remains a little space (where the space between tiles goes down) empty. Yes I know, I could put a black solid under the floor or make the green material deeper... but I would like to know how to make the edges of texture matching always with near textures.

                        Who knows the answer?

                        1 Reply Last reply Reply Quote 0
                        • andybotA Offline
                          andybot
                          last edited by

                          @jiminy-billy-bob said:

                          @andybot said:

                          I don't believe it's possible to have the displacement go "below" your face.

                          It can if you put a negative shift value. But by default the water level is at 0, so the face disappears.

                          I stand corrected πŸ˜„ for some reason I was under the impression that vray didn't work with negative shift values. Works great, now I know a new trick
                          β˜€

                          @decumano, unfortunately, the edges of the displacement will leave gaps like that against a planar surface. yes, you'll need a vertical plane to end it without gaps.

                          http://charlottesvillearchitecturalrendering.com/

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            A little sidenote: do you really need displacement for this floor? Displacement is very slow and consumes a lot of memory. It seems to be that the displacement effect on this floor isn't that big - and you're quite likely to get away with a bump map.

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              decumano
                              last edited by

                              oh, a bump map... In effect I didn't even think to use it because I tought it was for soft effect... like (for example) orange peel.

                              Ok, I'll try. Or will use a vertical plane to end the edge.
                              Thanks

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement