• 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.
  • C Offline
    Christmended
    last edited by 25 Oct 2010, 14:59

    Thanks for the awesome plugin!

    Here is a test result I did.


    Heads screenshot.jpg

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 25 Oct 2010, 16:16

      Shaun, that almost looks like a lithophane. Cool.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • H Offline
        Heven7_floor
        last edited by 26 Oct 2010, 14:36

        Great Plug-in, thank your gift to make SU plugin to display the thing happen πŸ‘ πŸ‘ πŸ‘

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

          The plugin works with bump mapping. I have no idea about what I am saying, but could it work with normal and displacement maps?

          I have no idea about programming, except an unfinished Interactive Fiction game 5 years ago in the "popular" inform 6 language 😲 πŸ˜† πŸ˜†

          Forgive my spanglish...

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 26 Oct 2010, 15:35

            @pichuneke said:

            I have no idea about what I am saying, but could it work with normal and displacement maps?

            Displacement maps are the same as bump maps - grayscale heightmaps. As for normal maps, I don't really know how they work...

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

            1 Reply Last reply Reply Quote 0
            • P Offline
              pichuneke
              last edited by 26 Oct 2010, 16:49

              @thomthom said:

              @pichuneke said:

              I have no idea about what I am saying, but could it work with normal and displacement maps?

              Displacement maps are the same as bump maps - grayscale heightmaps. As for normal maps, I don't really know how they work...

              I have found a lot about normal maps here:

              Google Search

              favicon

              (www.google.com)

              but it's written in chinese, or C++ ... πŸ˜† I don't know if it may interest you, I was spending my time a bit (as I don't understand a single word πŸ˜„ )

              Forgive my spanglish...

              1 Reply Last reply Reply Quote 0
              • A Offline
                arquitectomaracucho
                last edited by 26 Oct 2010, 17:44

                excuse my English, Greetings πŸ‘Š
                Thomtom greetings, very good tool for many functions πŸ‘ . be possible to add option mesh, giving a percentage between simple and complex mesh, thanks πŸ‘

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

                  @arquitectomaracucho said:

                  be possible to add option mesh, giving a percentage between simple and complex mesh, thanks πŸ‘

                  That would be simply resizing the bitmap down - which is much more efficient to do in your favourite image editor than via a Ruby plugin.

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Scott M
                    last edited by 31 Oct 2010, 16:01

                    Just downloaded the plugin an gave it a try.I folowed the promp but nothing is showing up it is saying generating mesh but continues to thnink as if unresponsive.Is my system just too slow or am I doing something wrong. Could someone outline the process.The images you guys posted look great.I allso operate a cnc and would lke very much to use this plugin.

                    https://www.youtube.com/user/ecabinetstips

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

                      What image are you feeding it?
                      How large?
                      If you keep the Ruby Console open, do you get error messages?

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

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Scott M
                        last edited by 31 Oct 2010, 18:18

                        @thomthom said:

                        What image are you feeding it?
                        How large?
                        If you keep the Ruby Console open, do you get error messages?
                        I am using a jepg emage that I exported as a bmp. emage. It is 395x640px.I set the width at 6 5/8" and typed in the depth at 1/8". The ruby console showes Bitmap to mesh.
                        processing data took:4.6175s
                        After a few min. console goes blank with a white screen and the curser turns to a hour glass. This is the way it stays.

                        https://www.youtube.com/user/ecabinetstips

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

                          For how long?
                          Can you post the image you're using?

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

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Scott M
                            last edited by 31 Oct 2010, 20:28

                            @thomthom said:

                            For how long?
                            Can you post the image you're using?
                            Sorry it took so long to reply.It will stay that way as long as sketchup is up. I let it run for about 1 hour. I will attach the image.

                            https://www.youtube.com/user/ecabinetstips

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Fletch
                              last edited by 16 Nov 2010, 21:19

                              😲 Impressive plugin ThomThom! Wow!
                              (I obviously need a better displacement map for this tile now.) πŸ˜†


                              Hightmap4SU-test1.jpg

                              Fletch
                              Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                Fletch
                                last edited by 17 Nov 2010, 14:28

                                Further testing... just want to re-iterate what a great plugin you have here.

                                http://twilightrender.com/phpBB3/download/file.php?id=4983

                                Fletch
                                Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 17 Nov 2010, 14:51

                                  It's fun to see all the creations from this. πŸ˜„

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

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Ghalko
                                    last edited by 23 Nov 2010, 22:22

                                    πŸ’­ What if you could make an image file that could encode for overhangs?

                                    Basically it would be a flat image with a curvy perimeter within the rectangle that when smooshed would make a rectangular-based object that would include overhangs, and potentially tunnels (A perimeter within a perimeter, matched with another across the map.) Also a different color perimeter or lack thereof would create sphere or bumpy boulder, or even a planet if your memory can handle it.

                                    So right now is is black and white for basic z-height. How much information could be encoded using rgb? Red values might indicate what pixels it lines up with, blue indicates order and green indicates height or distance.

                                    Using the perimeter as an encoding medium for the flattened surface for distance it must go for the final product.

                                    This was just a random idea I had a few minutes ago while thinking about this plugin, it is possible but the way might not be very straight-forward. The image format might have to be something more than a .bmp. Also a good thing that might come out of this is large scale compression potential. Also organic shapes...

                                    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
                                    • K Offline
                                      keyston
                                      last edited by 4 Dec 2010, 21:25

                                      hey, excellent tool, similar to the terrain editor in vue but with your script you can work to a scale.
                                      2 questions;

                                      how do you map a texture to a non flat surface in su?
                                      I usually un soften/smooth edges and muck around with the eyedropper in the material toolbar which is a long process at the best of times, but with the hundreds/thousands of faces generated using this plugin thats not an option.

                                      I was also wondering if it would be possible to use a bitmap from an object in your scene to generate the mesh, say like you have texture mapped a cube for example, with 1 texture on all faces, you select the object, then generate mesh on all the mapped faces.Possible? too difficult? Just an idea from someone with no idea. πŸ’­ πŸ‘ πŸ‘Ž ❓
                                      Thanks again for the plugin.

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        keyston
                                        last edited by 4 Dec 2010, 22:53

                                        just found the answer to my first question, projected texture. much easier πŸ˜’

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 6 Dec 2010, 18:01

                                          @keyston said:

                                          I was also wondering if it would be possible to use a bitmap from an object in your scene to generate the mesh, say like you have texture mapped a cube for example, with 1 texture on all faces, you select the object, then generate mesh on all the mapped faces.Possible? too difficult? Just an idea from someone with no idea. πŸ’­ πŸ‘ πŸ‘Ž ❓

                                          It'd be challenging to make the mesh work between faces, but the biggest problem is that it would most likely create a mesh that is all too dense for SketchUp to handle.

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

                                          Advertisement