sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Bitmap To Mesh

    Scheduled Pinned Locked Moved Plugins
    264 Posts 75 Posters 517.1k 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.
    • dimixD
      dimix
      last edited by

      Is it possible to take a closed loop of edges, and fill them with a bitmap?
      Kinda like the Soap Skin & Bubble plugin douse.

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

        Like a height map, or making faces out of each pixel?

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

        1 Reply Last reply
        Reply Quote 0
        • TandemT
          Tandem
          last edited by

          @iichiversii said:

          Ok i got the Lib thing sorted but im still running into that issue where "mesh from heightmap" wont allow me to select depth, still confused, anyone else had this issue and solved it?

          I was stuck on the exact same problem and was able to make it work by changing my steps to:

          1. File > Import...
          2. Navigate to your image file, select it and click Import.
          3. Place and size the image in SU.
          4. Right-Click on the placed image and select Mesh from Heightmap.
          5. Pick depth by clicking somewhere on the blue axis above the image.
          6. The plugin will take some time to index the points and generate the mesh.
            May have something to do with file format. I don't know.

          Thanks thomtom for a great plugin. I am trying to use it to generate terrain from downloaded TIF heightmaps. Still trying to figure out what size image is doable.

          1 Reply Last reply
          Reply Quote 0
          • dimixD
            dimix
            last edited by

            @thomthom said:

            Like a height map, or making faces out of each pixel?

            Yes like a height map (if i understand what a height map is correctly πŸ˜„ ).
            If i have a spesific face that i have to work with, and it represents a water surface:

            http://i.imgur.com/OGAljLM.png?1

            I woud like to add small waves to that face like Mistro11 did in this post
            Is there some way to bound the bmp to that face?

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

              Why not just make the mesh from a rectangular bitmap and trim it to that shape after?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                The mesh would be incredible dense. Are you rendering the image eventually? I'd then put use the render engine and apply the bitmap as a bump map or displacement map instead.

                1 Reply Last reply
                Reply Quote 0
                • dimixD
                  dimix
                  last edited by

                  @dave r said:

                  Why not just make the mesh from a rectangular bitmap and trim it to that shape after?

                  @tt_su said:

                  The mesh would be incredible dense. Are you rendering the image eventually? I'd then put use the render engine and apply the bitmap as a bump map or displacement map instead.

                  I agree with both of you. Trimming it or rendering it would be a solution. But still i am curious if it is possible to bind the bmp to a face.

                  1 Reply Last reply
                  Reply Quote 0
                  • L
                    Lersince1991
                    last edited by

                    This plug in is amazing, thank you so much.

                    But it took me a long time to find, I suggest in your extension warehouse keywords you add "Displacement Map" or Displacement baking and similar stuff to help others find it.

                    1 Reply Last reply
                    Reply Quote 0
                    • jojo9J
                      jojo9
                      last edited by

                      nice one, could be useful for landscape modeling in my case.
                      ive probems to draw the depth plane.

                      -i loaded a bitmap noise image into su
                      -i defined the origin and width, while with depth im unable to confirm, the click is blocked.
                      Also using a numerical imput and confirming that op doesnt work.

                      (mac, su13 free)

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

                        Any errors in the Ruby Console?

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

                        1 Reply Last reply
                        Reply Quote 0
                        • IneshtineI
                          Ineshtine
                          last edited by

                          Make sure the bitmap is 24bit and that it doesn't include color space information.

                          What? you haven't tried Raylectron yet?

                          1 Reply Last reply
                          Reply Quote 0
                          • C
                            cowboyathome
                            last edited by

                            To those people having an issue with not being able to click when prompted to Pick depth, make sure that the image you are using does not have any color space information. I believe that someone already mentioned this awhile back in the thread.

                            The link below shows an image of the GIMP export settings when exporting a BMP image.
                            Notice that I have Do not write color space information checked.
                            I have no idea how to check if a BMP image has color space or not. Best bet is to open the image and save/export it without color space information.

                            https://goo.gl/photos/knF2NPQ5fEhLrhe79

                            1 Reply Last reply
                            Reply Quote 0
                            • E
                              Efrado
                              last edited by

                              Hi Thom,I have been trying to install this jewel for three days,and not able to do.
                              Had read several times almost every thing at the forums without success.
                              Could you give me a hand please.
                              My OS X 10.6.8 and Skp.8.0.15157 free.
                              This is what appear in the ruby console:

                              Failed to read /Users/AMADO/Desktop/PRUEBA 1.bmp
                              BMP Magic Marker not found.
                              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:535:in read_image' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:472:in initialize'
                              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:139:in new' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:139:in bitmap_to_mesh_tool'
                              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:44

                              THANK YOU

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

                                Can you share the image you try to load?

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

                                1 Reply Last reply
                                Reply Quote 0
                                • E
                                  Efrado
                                  last edited by

                                  Thank you for your fast answering. By the way,what do I have to do to select image clicking the right button on my mouse.
                                  Continuing with the attempt to install the plugin (the only one after easy install) I got this message in the skp. screen
                                  https://cf.dropboxstatic.com/static/images/icons/icon_spacer-vflN3BYt2.gif

                                  this is the bmp image:

                                  https://www.dropbox.com/s/qcmig0ajnkn2p5r/Screenshot%202016-04-09%2011.05.35.png?dl=0
                                  Thankyou

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

                                    That first image doesn't appear to load. (You can upload directly to the forum btw.)

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

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • E
                                      Efrado
                                      last edited by

                                      Hi Thom ,sorry I am not so good with the driven of posting images. I hope this is the one


                                      http://i900.photobucket.com/albums/ac206/efrado47/Screenshot 2016-04-09 11.52.17_zpsdmxs46km.png

                                      I changed the setup of my mouse and could get the width rectangle but could not get the height


                                      http://i900.photobucket.com/albums/ac206/efrado47/Screenshot 2016-04-11 00.23.50_zpsort4q1xt.png

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

                                        Hmm... That message about not being supported - it would indicate you have an OSX version older than 10.7. Though that seem rather old - as it incorrectly matching your system? What is your OSX version?

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

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • E
                                          Efrado
                                          last edited by

                                          HI Thom, this is what I have:

                                          http://i900.photobucket.com/albums/ac206/efrado47/Photobucket Desktop - Efrain Amado Gutierrezs MacB/Screenshot 2016-04-11 18.49.26_zpsu4tfvyro.png

                                          So what do I have to do in order to get your plugin works under this circumstances?

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • TIGT
                                            TIG Moderator
                                            last edited by

                                            You have an old [now unsupported] OSX 10.6
                                            As TT said, you need to have at least 10.7...

                                            Can't you update your OS ?
                                            There is the 'Software Update...' button on the 'About This Mac...' dialog...

                                            If for some reason you can't upgrade your OS, then several Extensions [including this one] will not work...
                                            That is the limitation, unless you change things...

                                            Also SketchUp no longer supports v8 [and v2013 will cease shortly] - also several Extensions will no longer work in older SketchUp versions [this is often irrespective of the computer's OS, since they might rely on new API features, which are unavailable in those older SketchUp versions] - so why no 'bite-the-bullet' and upgrade both your OS and SketchUp version ?

                                            TIG

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 13 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement