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

    [Plugin] Bitmap To Mesh

    Scheduled Pinned Locked Moved Plugins
    264 Posts 75 Posters 420.7k Views 75 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.
    • Mistro11M Offline
      Mistro11
      last edited by

      @thomthom said:

      The water is a mesh as well? o_O wow! that must be a heavy model! :s
      Why not do the water as a bump map or displacement map? (since you're rendering...)

      It's not as bad as it looks. I try to stay at 50-100 pixels. In the more turbulent render, I splurged and went up to 150 pixels and it only took a few more seconds to compute. It only took seconds for these meshes to compute and the model is just fine. The water mesh is actually 1 component x2 with the second mesh component flipped so the waves line up and I don't see a seam in the render. My rig is a 4 year old Q6600 running XP. There is no performance hit at all, the export to Kerky was not long especially if the mesh is made with a 50 pixel bitmap. I just make sure I put those Xfrog trees in Kerkythea and not in Sketchup.

      Why not bump or displacement map? I'm a firm believer in modeling for lighting and shadow effects as much as possible before faking with bump and displacement maps for the sake of authenticity. I did try the bump map way and was not satisfied with the results in Kerky because the shore line was just flat and not showing the waviness of the water. Not saying I don't use bump maps, I love playing with them. Just thought this plugin would take it to the next level as long as my rig can handle it. At 50 pixels, I'm surprised at how much detail we can still achieve. I'm getting a real kick out of making bump maps to make geometry.
      River2monohidden.jpg

      i7-4930k @3.4/3.7GHz, 32Gb RAM, NVidia GTX 980Ti 6Gb, Windows 7 Pro 64bit
      Structural Integrity is Not Just Physical...It's in the Design and Purpose

      1 Reply Last reply Reply Quote 0
      • panixiaP Offline
        panixia
        last edited by

        @mistro11 said:

        At 50 pixels, I'm surprised at how much detail we can still achieve. I'm getting a real kick out of making bump maps to make geometry.

        I 100% agree with you.. this plug-in is really nice.. and the combination between those heavy meshes and vertex tools is amazing.. i used them combined for this quite heavy old sofa.. used heightmap for tuft and golden decorations, then tweaked and welded them using vertex tools.. pretty much faster and effective results than any bump/displacement/subdivision modeling approach i can think of..
        i took some sceenshoot and i'm planning to do a tutorial in the next days about how to model this sofa using such approach..

        your water looks pretty heavy-poly too.. 😲

        http://sketchucation.com/forums/download/file.php?id=98478&mode=view/rokbox.jpg

        1 Reply Last reply Reply Quote 0
        • Mistro11M Offline
          Mistro11
          last edited by

          Panixia, that couch looks awesome! I look forward to that tutorial. Really. 🎉
          I just bought Vertex tools myself earlier this month. I have more practicing to do. Artisan is also a great companion to this plugin.

          Yeah it's pretty heavy but not so bad. I just checked the file size of the water scenes. The one that's 50 pixels is 11mb and the 150 pixels is at 19mb. I'm gonna see what I can do about reducing poly count without losing quality. I consider a model to be really heavy when Sketchup begins to lag badly. The water mesh had a slight lag when I was moving the first copy. Other than that no lag at all.

          i7-4930k @3.4/3.7GHz, 32Gb RAM, NVidia GTX 980Ti 6Gb, Windows 7 Pro 64bit
          Structural Integrity is Not Just Physical...It's in the Design and Purpose

          1 Reply Last reply Reply Quote 0
          • greenskpG Offline
            greenskp
            last edited by

            Hi guys!

            This is a awesome plugin but i don't know how to convert into a image with grayscale.
            For example, this image below.

            http://i49.tinypic.com/1zx6zck.jpg

            Anybody help me?

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

              Image editor maybe?
              1zx6zck gray scale.jpg

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                If all you do is desaturating a colour image to grayscale then the plugin does this automatically while processing.

                However, as I've been trying to stress before - converting an image to greyscale doesn't give you a height map. The light and dark areas doesn't properly represent high and low points of the geometry. Shadows, reflection and light direction will give incorrect result.

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

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

                  André asked for a grey scale image so I gave him one. I didn't think it would be all that useful for creating the mesh since it doesn't suit the requirements of a height map.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Free Heightmap editor

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tacokid
                      last edited by

                      First, let me apologize because I have no idea where this is going. I have never posted on any forum, so it's all new to me. What I am trying to find out is how do you download the bitmap to mesh plugin and the tt_lib that goes with it? I have been clicking on links for a while, but I'm just going in circles. I hope this plugin does what shows on the video as it could solve my problem.

                      Thanks,
                      tacokid

                      1 Reply Last reply Reply Quote 0
                      • massimoM Offline
                        massimo Moderator
                        last edited by

                        Look at the very first post of the thread.
                        Cattura.JPG
                        Cattura_01.JPG

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

                          And you can use this to aid the installation process: http://sketchucation.com/forums/viewtopic.php?t=42315#p375454

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

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tacokid
                            last edited by

                            You're not going to believe this, but I was having the same trouble. You would think I'm just learning to use computer too !! I did find my problem. For some reason, when I disabled my pop up blocker and re-started my browser, the pop up blocker re-enabled. So I was chasing my own tail. Did get it downloaded and will try it soon.

                            Thanks a lot

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

                              👍 👍

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

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                frankleng
                                last edited by

                                thanks. very nice.

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Soyphrenn
                                  last edited by

                                  Just one question : no working with Sketchup MacOS ?

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

                                    Works just fine on my Mac (OSX 10.8.4)

                                    I did this a few minutes ago.
                                    BMP2mesh.png

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

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

                                      Yea, should work on OSX. Are you getting errors?
                                      Did you install TT_Lib2 as well? (it's a required dependency.)

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

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jjduncs
                                        last edited by

                                        256x256 bmp taking 45 minutes to finish. Activity monitor shows Sketchup only using 5% while this is processing.

                                        1 Reply Last reply Reply Quote 0
                                        • tt_suT Offline
                                          tt_su
                                          last edited by

                                          @jjduncs said:

                                          256x256 bmp taking 45 minutes to finish. Activity monitor shows Sketchup only using 5% while this is processing.

                                          How many cores do you have? Quad core hyper-threaded? SketchUp and Ruby 1.8 only makes use of a single core.

                                          256x256 pixels would produce 131072 triangles - so you'd have quite a dense mesh. Ruby is quite slow by itself, but the bottleneck here is SketchUp's speed of adding geometry. The more geometry already in the group you add to the slower it gets.

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jjduncs
                                            last edited by

                                            Yeah quad core, not sure on the hyper-threading.

                                            Ended up just scaling down to 100 x 100 in PS. Still took 20 minutes though. CPU usage only spikes higher for the last maybe 20 seconds after it finishes the generating mesh task.

                                            Thanks though.
                                            100x100 turned out fine anyway.

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

                                            Advertisement