• 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.
  • D Offline
    Dave R
    last edited by 3 Oct 2010, 12:31

    Well, it's all voodoo to me so I am glad we have folks like you.

    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 3 Oct 2010, 14:56

      Version 0.2.0b

      • Made into a tool so the user can easily position the mesh
      • Moved menu to Draw > Mesh From Bitmap
      • Keeps aspect ratio of image or Image element
      • Right click and Image element to generate a mesh. (Does not need to be BMP image - but Draw > Mesh From Bitmap still require BMP imput)
      • Colour BMP images will convert the RGB value to optical greyscale.
      • VCB support

      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
        thomthom
        last edited by 3 Oct 2010, 15:57

        TerrainTest.png

        Test using sample maps from: http://www.mtgrafix.com/programs/terrain.html

        Also tried this: http://www.twisteddirt.com/TutorialStuff/dem_02.php Nice terrain shape - but the diffuse texture wasn't so good.

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

        1 Reply Last reply Reply Quote 0
        • D Offline
          dedmin
          last edited by 3 Oct 2010, 15:58

          or-a-24-0039.jpg

          2010-10-03_185534.jpg
          2010-10-03_185511.jpg

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 3 Oct 2010, 16:07

            308px × 1 047px - that would make the mesh ~500-600K faces?

            And the issue with that bitmap is that despite it being a greyscale, it's still not a height map - which is why the mesh doesn't come out looking as what the image illustrate.

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

            1 Reply Last reply Reply Quote 0
            • D Offline
              dedmin
              last edited by 3 Oct 2010, 16:11

              Yes, true. I just wanted to test it - the file is 105 MB 🤣

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 3 Oct 2010, 16:18

                Yea - the last texture I tested was 512x512 - heavy mesh. And I'd forgotten that Autosave was on - every 5 mins. x_X

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

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dedmin
                  last edited by 3 Oct 2010, 16:20

                  2010-10-03_191933.jpg

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dedmin
                    last edited by 3 Oct 2010, 16:30

                    2010-10-03_192956.jpg

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      shura
                      last edited by 3 Oct 2010, 21:30

                      Why don't I get the Curve Simplification to work?

                      Test.jpg

                      TestSorry.jpg

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 3 Oct 2010, 21:41

                        hm... possibly you have a version where it failed on closed loops. I might not have uploaded a corrected version...

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          david_h
                          last edited by 4 Oct 2010, 15:26

                          So I notice these wonderful meshes created. How is one controlling the height of the extrusion?

                          If I make it look easy...It is probably easy

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pichuneke
                            last edited by 5 Oct 2010, 15:30

                            The pieces on the roof (above the pediment) are made with your plugin 😄


                            http://farm5.static.flickr.com/4103/5053994977_c27d104e30_z.jpg
                            Reconstrucción del Templo de Artemis Agrotera 4 by Egocentrico , on Flickr

                            relieve3.png

                            Click here to see it in bigger size (1024 px):

                            Link Preview Image
                            All sizes | Reconstrucción del Templo de Artemis Agrotera 4 | Flickr - Photo Sharing!

                            The safest and most inclusive global community of photography enthusiasts. The best place for inspiration, connection, and sharing!

                            favicon

                            (www.flickr.com)

                            Forgive my spanglish...

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Ghalko
                              last edited by 6 Oct 2010, 04:19

                              So I read the posts and then thought nothing of trying a 2048x2048 heightmap produced by L3DT (terrain generating program.) 😲 Maybe I should try a bit smaller at first. Then I won't just freeze sketchup and make my patience run out... 😕

                              I will try with a smaller (much smaller) one first and post the results.

                              Bryan

                              Arrrggghhh! Why won't it make a face!!! Stupid, no good piece of... Oh look! The line went to the wrong point. Whew... moving on. (My fights with sketchup.)

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                solo
                                last edited by 6 Oct 2010, 05:12

                                @unknownuser said:

                                So I notice these wonderful meshes created. How is one controlling the height of the extrusion?

                                Color, the darker the black and brighter the white will produce the greatest crests and troughs.

                                http://www.solos-art.com

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

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  Ghalko
                                  last edited by 6 Oct 2010, 17:57

                                  After letting a 384x384 (meters) heightmap simmer:
                                  Yey!

                                  Arrrggghhh! Why won't it make a face!!! Stupid, no good piece of... Oh look! The line went to the wrong point. Whew... moving on. (My fights with sketchup.)

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    david_h
                                    last edited by 6 Oct 2010, 18:13

                                    @solo said:

                                    Color, the darker the black and brighter the white will produce the greatest crests and troughs.

                                    I get that easy enough. its all based on contrast. . .so One must go into PhoShop and manipulate and lessen those contrasts before putting it into the plugin? Because when I down loaded the scrolly motif lintel thing, I got all kinds of mess. I just couldn't get my model to look like others were doing. . .

                                    I'll keep playing with it.

                                    If I make it look easy...It is probably easy

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jeff hammond
                                      last edited by 6 Oct 2010, 18:26

                                      David,
                                      Use the scale tool to compress it vertically.

                                      dotdotdot

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        david_h
                                        last edited by 6 Oct 2010, 19:14

                                        oh well. . . there's one for the duh thread.

                                        Thx 😳

                                        If I make it look easy...It is probably easy

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 7 Oct 2010, 17:20

                                          With version 0.2.0 you specify the height your self - either by using the cursor or entering a length in the VCB.

                                          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
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 13
                                          • 14
                                          • 4 / 14
                                          4 / 14
                                          • First post
                                            64/264
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement