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

    Displacement Shapes

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    29 Posts 12 Posters 4.8k Views 12 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.
    • soloS Offline
      solo
      last edited by

      I seem to have a little glitch with my vray, I have recently installed vray on my new machine and everything works great but it does not render displacement, it shows it in material preview window but not in render.
      I checked the same model on an older machine and it renders the displacement fine, is there someplace I need to check to enable displacement?

      [edit] Figured it out, I'm having a blonde moment.

      http://www.solos-art.com

      If you see a toilet in your dreams do not use it.

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

        @solo said:

        [edit] Figured it out, I'm having a blonde moment.

        Care to share what you'd done in your blonde moment?

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

        1 Reply Last reply Reply Quote 0
        • soloS Offline
          solo
          last edited by

          The model size on the new machine was too big so the dispacement value over the texture was reduced to a point that it was not noticable.

          http://www.solos-art.com

          If you see a toilet in your dreams do not use it.

          1 Reply Last reply Reply Quote 0
          • FrederikF Offline
            Frederik
            last edited by

            @solo said:

            The model size on the new machine was too big so the dispacement value over the texture was reduced to a point that it was not noticable.

            Ouch... Have to admit that it also have happened for me... 😳
            Recently it happened when I tried using your Vray Grass displace model... πŸ‘Ώ πŸ˜†
            Didn't realize it was like 30cm grass... πŸ˜†

            Aaahhh well... Good to know that I'm not the only occasional "blonde" around... πŸ˜†

            Cheers
            Kim Frederik

            1 Reply Last reply Reply Quote 0
            • soloS Offline
              solo
              last edited by

              LOL, I have many blonde moments these days, must be age.

              Thomthom, I used your displacement map from your first post and tried it with Vue:

              http://img12.imageshack.us/img12/9549/ttdisplacement.jpg

              I then exported the displaced mesh and opened it in SU.

              http://img12.imageshack.us/img12/1562/displacementmesh.jpg

              http://www.solos-art.com

              If you see a toilet in your dreams do not use it.

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

                The one I used isn't the one I posted here. I used an 32bit image, as 8bit images will have a non-linear gamma correction applied it.

                How did you create the mesh? Terrain generated from bitmap?

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

                1 Reply Last reply Reply Quote 0
                • soloS Offline
                  solo
                  last edited by

                  Yes.

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

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

                    I bet it would be possible to make a whole mountain scene with a displacement map πŸ’š

                    1 Reply Last reply Reply Quote 0
                    • soloS Offline
                      solo
                      last edited by

                      Another quick test.

                      Image made in paintshop:

                      http://img7.imageshack.us/img7/7862/testdisp.jpg

                      Then the displacement/terrain from image:

                      http://img7.imageshack.us/img7/5422/testdisplacement.jpg

                      And lastly the mesh from terraim/displacement opened in SU.

                      http://img7.imageshack.us/img7/3478/testdisplacementmesh.jpg

                      http://www.solos-art.com

                      If you see a toilet in your dreams do not use it.

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

                        More 'boobies'. Tried out Two-Sided material. Though, I had expected it to be more translucent. Need to revisit this one. Other tests on plain geometry gave the results I expected, this one didn't. Wonder if it's due to the displacement.


                        Twosided.png

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

                        1 Reply Last reply Reply Quote 0
                        • soloS Offline
                          solo
                          last edited by

                          I used your map again this time with Vray, and an American flag as a diffuse map.

                          It UV mapped it perfectly....hmmm.

                          http://img20.imageshack.us/img20/9247/usflagdisp.png

                          http://www.solos-art.com

                          If you see a toilet in your dreams do not use it.

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nomeradona
                            last edited by

                            excellent thread.

                            visit my blog: http://www.nomeradona.blogspot.com

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

                              @solo said:

                              I used your map again this time with Vray, and an American flag as a diffuse map.

                              It UV mapped it perfectly....hmmm.

                              http://img20.imageshack.us/img20/9247/usflagdisp.png

                              Your image seens jagged... like if there was a small displacement map applied on top of the original displacement map. Look how much more "smooth" are the "turbine" images from TomTom.

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                notareal
                                last edited by

                                I believe jaggin is result of ldr displacement map.

                                Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                1 Reply Last reply Reply Quote 0
                                • coulteriC Offline
                                  coulteri
                                  last edited by

                                  Hey! That's great! πŸ˜„ Thom, could you tell me, how do you create displacement maps? Is it kind of software, that converts 3D object into the map?

                                  Thanks.
                                  Coulteri

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    remus
                                    last edited by

                                    A displacement map is just a greyscale image (the sort of thing you can make in photoshop.) You then need a program which can use the displacement map, in thom's case, vray.

                                    http://remusrendering.wordpress.com/

                                    1 Reply Last reply Reply Quote 0
                                    • coulteriC Offline
                                      coulteri
                                      last edited by

                                      Yes, I understand this. I just asked, if there is a method to create a displacement map from existing 3D object.... For example, if there is a ruby plugin, that is able to color the face according to its distance from zero position. Then it would be easy to export 2D raster and use it as a displacement map.

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

                                        From Ruby it's not easy to read/write to image files. There seem to be a lack of code library to deal with the various formats.

                                        Other 3D modelling packages have this kind of feature - though I think they mostly generate normal-maps instead of plain displacement maps. AFIK there isn't any tools like this for SU.

                                        My experiment is pretty much the inverse of what you ask for - I just drew a grayscale shape in PS and experimented with what kind of shape it'd produce.

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

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          remus
                                          last edited by

                                          @thomthom said:

                                          From Ruby it's not easy to read/write to image files. There seem to be a lack of code library to deal with the various formats.

                                          I seem to remember reading it's because processing images is a relatively computationally intensive task, and ruby being relatively slow as it is isnt well suited to the task.

                                          http://remusrendering.wordpress.com/

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

                                            Well, that's one thing, it certainly won't be the quickest. But it doesn't has to be.

                                            But the main issue is that file format other than the BMP format tends to be complex, especially when they compress the images. And if you don't find a good library that can read/write the formats that's supported on both platforms you have to do it yourself - learning the structure of the file format.

                                            Speaking of this, I might see if I an make a class that handles the BMP format as it's one of the most straight forward formats out there.

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

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

                                            Advertisement