• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Bitmap To Mesh

Scheduled Pinned Locked Moved Plugins
264 Posts 75 Posters 420.6k Views
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.
  • G Offline
    gidominik
    last edited by 10 Nov 2011, 00:51

    @thomthom said:

    Ah! I see it right there, a folder named "QuadFaceTools - (0.4.1)". When downloading the plugins, copy the content of the zip files to the plugins folder, do not let the extracter wrap it in another folder.

    I got it right this time... πŸ‘ πŸ‘ πŸ‘ πŸ‘ 😎 Thank you

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mistro11
      last edited by 14 Dec 2012, 23:51

      Hi ThomThom! Another great plugin I discovered by you! I been flirting with Blender, Terragen 2, and shopping around for terrain generating solutions for a couple months now. I was planning on using Artisan and your useful Vertex Tools (perfect for fine tuning natural shapes I imagine) to sculpt terrain and do a composite in other software. I will still use those plugins but this just cut all kinds of time down for that process. I have terrains that have specific landmarks and features so knowing I can work from greyscale images in sketchup is blowing my mind right now. Thank you again.

      Just one concern before really diving in... When I go to the draw menu I only see Mesh from Heightmap option and not the added BMP to Mesh. I just downloaded the version on page one. Should I be seeing the 2 options you show?

      As you can see it's different from example on page 1
      BMP2M-Draw-Menu.jpg

      I put the ruby file in the plugins folder and I'm on Win XP. And is there any more documentation for this?

      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
      • T Offline
        thomthom
        last edited by 15 Dec 2012, 12:02

        MeshBitmap.png

        πŸ˜‰

        Beware that you get a very dense mesh! Keep the bitmaps small! Very small!

        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
          TaffGoch
          last edited by 15 Dec 2012, 21:41

          I can attest to the "recommendation" to keep the image/bitmap SMALL!

          You would, generally, think that 512x512 pixels is "small." It is NOT !

          It will take many hours, or (if you don't have enough memory) it will choke SketchUp.

          Pay heed to the advice. This 512x512 DEM image, for example, is NOT SMALL:


          n35w089.gif

          "Information is not knowledge." -- Albert Einstein

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 15 Dec 2012, 21:59

            @taffgoch said:

            You would, generally, think that 512x512 pixels is "small." It is NOT !

            Yea, I did the same thing while I wrote this plugin. Tested with what I thought a was a small sample. x_X

            Got some ideas for warnings for large bitmaps. And options to sample only portion of the map - like taking a max number of rows for x and y.

            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
              Mistro11
              last edited by 30 Dec 2012, 05:04

              Just want to share my first serious experiment with this plugin here. I love working with greyscale height maps.

              I'm experimenting with terrain and water. Both the terrain and the water meshes were done with this plugin. Please excuse the terrain as I didn't smooth them, but this is mainly a water test anyway.

              River2.jpg

              watertest7.jpg

              watertest9.jpg

              Details of this experiment can be read in a thread I started in the newbie section
              http://sketchucation.com/forums/viewtopic.php?f=79&t=49668&p=447473#p447473

              Thanks again ThomThom!!! You rock with this great plugin.

              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
              • T Offline
                thomthom
                last edited by 30 Dec 2012, 11:44

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

                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
                  Mistro11
                  last edited by 30 Dec 2012, 17:19

                  @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 30 Dec 2012, 23:20

                    @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
                    • M Offline
                      Mistro11
                      last edited by 31 Dec 2012, 06:08

                      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 12 Feb 2013, 23:24

                        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 13 Feb 2013, 00:54

                          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
                          • T Offline
                            thomthom
                            last edited by 13 Feb 2013, 08:34

                            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 13 Feb 2013, 09:34

                              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 13 Feb 2013, 10:15

                                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 7 Mar 2013, 07:53

                                  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 7 Mar 2013, 12:15

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

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 7 Mar 2013, 12:56

                                      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 7 Mar 2013, 17:53

                                        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
                                        • T Offline
                                          thomthom
                                          last edited by 7 Mar 2013, 21:37

                                          πŸ‘ πŸ‘

                                          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
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 14
                                          • 10 / 14
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement