• 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.
  • J Offline
    jeffschaid01
    last edited by 7 Feb 2011, 14:03

    In sketchup format (after converting to mesh) the file size is 13megs. I've attached the image for which I'm creating the "bitmap to mesh" from. Its size prior to converting to mesh is 44kb. I think you might be on to something as far as SU running out of memory. Possible work around?


    my_depth.jpg

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 7 Feb 2011, 14:06

      First verify it's a memory issue. open Task Manager and monitor the memory usage of SketchUp.exe when you export.

      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 7 Feb 2011, 14:14

        That mesh I got from that image you posted was pretty dense. 85K triangles.
        I ran CleanUp on it afterwards, resulting in 34K triangles.

        If SU is running out of memory, I'd suggest you try with a smaller bitmap. Also, try to run CleanUp before exporting to get rid of co-planar faces.

        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
          jeffschaid01
          last edited by 7 Feb 2011, 14:15

          Thanks very much for the help. The cpu usage is at about 250,000k when the export process hits 49% then climbs to 270k and the program crashes and closes. Is this beyond SU capabilities?

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 7 Feb 2011, 14:28

            No - it'd be at about 2GB. (Unless you have a 64bit OS and SU8M1 with more than 4GB RAM installed - then it can use up to 4GB.)
            It must be something else.

            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
              jeffschaid01
              last edited by 7 Feb 2011, 14:31

              Is the "cleanup" process a function of SU?

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 7 Feb 2011, 14:33

                @jeffschaid01 said:

                Is the "cleanup" process a function of SU?

                It's another plugin of mine: http://forums.sketchucation.com/viewtopic.php?f=323&t=22920

                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
                  jeffschaid01
                  last edited by 7 Feb 2011, 14:37

                  Great. I will get this installed as well. Did you have a chance to take a look at the photos of the model I emailed you yesterday? If so, can that be achieved with this program?

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 7 Feb 2011, 14:42

                    @jeffschaid01 said:

                    Great. I will get this installed as well. Did you have a chance to take a look at the photos of the model I emailed you yesterday? If so, can that be achieved with this program?

                    Well, it generates the mesh. And I'd think that if you closed that mesh into a solid it should be possible to 3d point the model.

                    The problem seem to be the exporting. I also see the crashes. I even ran CleanUp on the mesh and it crashed.

                    Try to scale down the bitmap to half the size and see if it still crashes then.

                    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
                      jeffschaid01
                      last edited by 7 Feb 2011, 14:59

                      Scaled down and unfortunately still having the same problem. You mentioned closing the mesh into a solid, is SU capable of completing a task like this? If not, any recommendations as far as a software program that may be capable of creating such a model?

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        GUNAWAN W
                        last edited by 7 Feb 2011, 19:29

                        was waiting for this for alooong time,
                        Awsome! Thanks thomthom 👍

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 8 Feb 2011, 18:53

                          Version 0.4.0b

                          • Progress feedback

                          (And I managed to delete one of the example images in the original post. 😞 No undo... )

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

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            KulaCZEk
                            last edited by 19 Feb 2011, 21:00

                            hi there,
                            Its there any posibility to reduce polygons? I tried Polyreduce plugin, which is on forum, but it doesnt work well. And my second question is about performance. I am using iMac, 2.66ghz, 4gb ram, nv9400. On this platform take generating of 150x150px height map around 4. minutes. Can you recomend something to speed it up?

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 20 Feb 2011, 17:08

                              @kulaczek said:

                              Its there any posibility to reduce polygons?

                              @kulaczek said:

                              Can you recomend something to speed it up?

                              Scale the bitmap down before processing it. Smaller image = simpler mesh = faster generation.

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

                              1 Reply Last reply Reply Quote 0
                              • ichiI Offline
                                ichi
                                last edited by 21 Apr 2011, 01:21

                                Thanks for the update thomthom,it's one of my favorite plugins 😄


                                mount.jpg

                                [Blog](http://ichi-3dstuff.blogspot.com)

                                1 Reply Last reply Reply Quote 0
                                • 66searcher6 Offline
                                  66searcher
                                  last edited by 22 Apr 2011, 12:13

                                  @ TT : well done ! it's great plugin . 👍

                                  http://hamidtoliat.deviantart.com/

                                  1 Reply Last reply Reply Quote 0
                                  • Y Offline
                                    yuchunGong
                                    last edited by 23 May 2011, 05:55

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      daveydave
                                      last edited by 30 May 2011, 08:07

                                      thanks, works in verion 6 too.

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        kgregorian
                                        last edited by 28 Jul 2011, 19:18

                                        Hey everyone, I am new to these forums and I have a quick question, I'm sorry in advance if it's already been answered. I just downloaded this plugin, and placed it in the right location...I have a Mac, so I wen to my internal hdd>app support>google sketchup 8>sketchup>plugins. Yet when I open sketchup it says the following: 'Error Loading File tt_bitmap2mesh.rb no such file to load -- TT_Lib2/core.rb'. This happened to me before, what I did to correct it. Any help would be appreciated. Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • GaieusG Offline
                                          Gaieus
                                          last edited by 28 Jul 2011, 19:39

                                          You have missed the "Requirements" in the first post:

                                          tt-lib.png
                                          You also need this plugin:
                                          http://forums.sketchucation.com/download/file.php?id=63393

                                          Gai...

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

                                          Advertisement