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 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