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

    [Example] V-Ray Displacement

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    54 Posts 27 Posters 172.6k Views 27 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.
    • V Offline
      valkama
      last edited by

      Thanks Thomthom for the excellent advice. Very helpful!

      1 Reply Last reply Reply Quote 0
      • fuzzionF Offline
        fuzzion
        last edited by

        Do Bumpmaps in vfsu take up just as much memory ❓

        "Only the dead have seen the end of war" - Plato

        1 Reply Last reply Reply Quote 0
        • EarthMoverE Offline
          EarthMover
          last edited by

          Josh,

          No. Bump maps are processed as normal light bounce calculations. While displacement creates additional geometry. This additional geometry is loaded and unloaded from memory during rendering. Depending on the intensity of the remaining calculations, sometimes the displacement will over tax your ram. The larger the displaced faced, the more is loaded into memory before it is unloaded. By subdividing, Vray can load and unload smaller amounts into memory, saving the overall memory consumption.

          To test, open your task manager and view the ram usage during rendering, using first bump, and then displacement.

          3D Artist at Clearstory 3D Imaging
          Guide Tool at Winning With Sketchup
          Content Creator at Skapeup

          1 Reply Last reply Reply Quote 0
          • A Offline
            AcesHigh
            last edited by

            @thomthom said:

            [attachment=0:2mhtdcot]<!-- ia0 -->grass01.png<!-- ia0 -->[/attachment:2mhtdcot]

            Here's a quick test.

            I am not a fan of displaced grass.

            • It does not look real - looks like spikes. Especially when the displacement is overdone. If reduced it's usually so subtle that displacement is not needed.
            • You need to the UV coordinates 100% right to avoid gaps when displacing irregular geometry this this sample.
            • It slow!
            • It chews up memory like a cookie monster at the cookie factory. Bad thing for VfSU that is locked inside SU's 32bit system.
            • Adding grass in post is quicker, more reliable and yields better results.

            how do you add the correct shadows, to post processed grass?

            how do you make the post processed grass looks real (3d) when in contact with other surfaces. I mean... post processed grass looks FLAT...

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

              Use a layer blend mode so you mix the shades of the underlaying layer. Or render out the image in mulitple passes which you can overlay.

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

              1 Reply Last reply Reply Quote 0
              • simon le bonS Offline
                simon le bon
                last edited by

                Hi guys,
                Sorry for disturbing: I don't know nothing about Vray..

                But I find Displacement incredibly amazing.

                http://i274.photobucket.com/albums/jj245/Spendauballet/TheaRender/StoneDispMap_handPainted_Ball_2b.jpg

                http://i274.photobucket.com/albums/jj245/Spendauballet/TheaRender/Khashak-map_ball.jpg

                http://i274.photobucket.com/albums/jj245/Spendauballet/TheaRender/Khashak-map.jpg

                http://i274.photobucket.com/albums/jj245/Spendauballet/TheaRender/BibendumBricksWall.jpg
                😎

                😒 simon

                1 Reply Last reply Reply Quote 0
                • pyrolunaP Offline
                  pyroluna
                  last edited by

                  Thanks Thomthom! Very helpful!

                  1 Reply Last reply Reply Quote 0
                  • arail1A Offline
                    arail1
                    last edited by

                    Very frustrated.
                    I'm trying to learn a bit of Vray before my demo expires, then I'm back to modo until some more $$ comes in.

                    I can't seem to get displacement to work. Is there a global switch somewhere that I'm overlooking? I've downloaded all of the files in this thread, opened them without changing any settings and I get nothing.

                    Any ideas of what I'm doing wrong or what I'm not doing?

                    Thanks


                    displace3.jpg

                    1 Reply Last reply Reply Quote 0
                    • 3 Offline
                      3deviator
                      last edited by

                      @arail1 said:

                      Very frustrated.
                      I'm trying to learn a bit of Vray before my demo expires, then I'm back to modo until some more $$ comes in.

                      I can't seem to get displacement to work. Is there a global switch somewhere that I'm overlooking? I've downloaded all of the files in this thread, opened them without changing any settings and I get nothing.

                      Any ideas of what I'm doing wrong or what I'm not doing?

                      Thanks

                      hello arail1, i dont know if this works for you, recently I play vray displacement on grass. And accidentaly found out this settings for grass displacement. I used vray 1.49.01 demo, and heres my settings.

                      1. I use the grass textured (attachment no.1) in the difuse layer and the displacement attachment no.2

                      2. Then in my material editor, at Maps, load the displacement file (attachment no.2) then adjust the U & V equal to 2.0, then check the invert box as shown in picture 7,

                      3. After that, I adjust the displacement multiplier to 5 and the edge length to 3.0 as shown in pictures also. (picture 4)

                      4. Then in the V-RAY OPTION. go to Displacement menu then adjust the amount to 2.0 and edge length to 5.0. (see picture 5)

                      5. finally hit render botton.
                        I attached also the output of that settings (picture 6), and some other output, i just change the amount of displacement and edge length.

                      Thats it, hopefully this will help you.
                      Cheers! 😛

                      Krisnel


                      grass (difuse)


                      grass displacement


                      picture 4


                      picture 5


                      picture 6


                      other output


                      picture 7

                      1 Reply Last reply Reply Quote 0
                      • arail1A Offline
                        arail1
                        last edited by

                        Thanks 3deviator -

                        I dragged some displacement maps I use in modo into my SketchUp scene and now I have displacement. I assumed downloading some of the files from this thread and hitting Render without doing anything else would work but for some reason it doesn't, not sure why. But whatever, I seem to have overcome the problem.

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

                          Make sure you group the faces with the displaced materials.

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

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mingjae
                            last edited by

                            hi thomthom,

                            I want to ask the basic pattern of displacement map,
                            is it extrude the black colour and nothing in white?

                            what about if i use a coloured jpg image as displace maps
                            eq, using the same jpeg image in diffuse and displacement maps
                            is it displaced?

                            i already try bump maps , make more realistic in texturing, but not more realistic if i render the corner of a room with applied 30x30 tiles on it (look realistic on the texture but not at the edge/ corner at the tile)

                            maybe, can u share step by step the setting of doing this rendering corner of a room with 30x30 tile? thx

                            SU 8+vray 1.49.01

                            1 Reply Last reply Reply Quote 0
                            • V Offline
                              valerostudio
                              last edited by

                              I remember reading something about a 'trick' to get displacement to calc faster on a final rendering. Does anyone remember the process. It had something to do with running the rendering with displacement off and then saving the IR and LC maps and then re-running the rendering? It was supposed to increase render times dramatically.

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

                                That's pretty much it. If you only have a few materials with displacement, you can turn of the disp. map for those materials and run a render at 1/2 the final resolution (height and width), then saving the LC and IR maps. Then change your settings to render LC and IR map from file, change resolution back to full res, and turn back on the disp. maps. The rendering should then start right into the final render pass. One warning though, there's a bug in the current version where the saved maps don't load correctly. I don't recall the workaround now, but it was discussed in the asgvis (now chaosgroup) forum. I'll post some info if I can dig it up. I think it had to do whether autosave image was turned on or not. (It needs to be turned on and a file path selected.)

                                Andy

                                http://charlottesvillearchitecturalrendering.com/

                                1 Reply Last reply Reply Quote 0
                                • fuzzionF Offline
                                  fuzzion
                                  last edited by

                                  Displacement mapping made with 1.49 vfsu. Texture taken
                                  from http://luzindirecta.luxisessentia.com/
                                  HDRI sky hyperfocal


                                  Eye in the Sky

                                  "Only the dead have seen the end of war" - Plato

                                  1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    valerostudio
                                    last edited by

                                    Did we ever figure out the workaround for the 1/2 res LC IR saving in 1.49.01?

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bhbarchitects
                                      last edited by

                                      The scene that ThomThom has been good enough to supply has a link to the displacement on a local machine.

                                      If you save this map to your pc and then link to it, the scene should render fine.

                                      Hope this helps

                                      Matthew


                                      disp file for glass


                                      displacement settings

                                      1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        valerostudio
                                        last edited by

                                        I might have been clear. I apologize for that. What I am referring to is the workaround that lets you rendering at 1/2 res with displace off and then you load your IR Map and LC Maps and render at full res. Andy mentions that he thinks there is a bug in the latest version that will not let you load the IR and LC maps properly. That's my issue right now.

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

                                          @valerostudio: I had a thread about this on the Chaosgroup forum. There is a trick that's worked most of the time - has to do with autosave. As long as you have a file name selected in the IRmap autosave slot, the saved maps seem to work.

                                          bug and solution for indirect illumination autosave bug
                                          (registration required)

                                          http://charlottesvillearchitecturalrendering.com/

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Moderat
                                            last edited by

                                            @3deviator said:

                                            3deviator

                                            I followed your steps, I liked the result.
                                            When I preview render in the material editor it looks good, but when I do a render from my scene it doesn't show the displacement.. I have this when rendering other kind of materials with displacement too. So there must be something wrong, I checked all the settings from your images with mine.. and they are the same. Any idea? Really frustrating, been looking for days now (reason why my water material isn't working properly too, see other thread).
                                            grass
                                            waterrender

                                            Thank you,

                                            Bert

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

                                            Advertisement