sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Bitmap To Mesh

    已排程 已置頂 已鎖定 已移動 Plugins
    264 貼文 75 Posters 420.7k 瀏覽 75 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • W 離線
      Whaat
      最後由 編輯

      cool stuff! I'm guessing that with some work, you could take a BMP texture applied to an existing mesh and use it to displace the mesh?

      Great work Thom!

      SketchUp Plugins for Professionals

      1 條回覆 最後回覆 回覆 引用 0
      • jeff hammondJ 離線
        jeff hammond
        最後由 編輯

        water.jpg

        dotdotdot

        1 條回覆 最後回覆 回覆 引用 0
        • KrisidiousK 離線
          Krisidious
          最後由 編輯

          you ROCK!!! 😍

          where are my old bump maps? time to go play...

          By: Kristoff Rand
          Home DesignerUnique House Plans

          1 條回覆 最後回覆 回覆 引用 0
          • EarthMoverE 離線
            EarthMover
            最後由 編輯

            @whaat said:

            cool stuff! I'm guessing that with some work, you could take a BMP texture applied to an existing mesh and use it to displace the mesh?

            Great work Thom!

            I'm looking forward to that...with perhaps a poly count adjustment. 👍 👍

            3D Artist at Clearstory 3D Imaging
            Guide Tool at Winning With Sketchup
            Content Creator at Skapeup

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              @whaat said:

              cool stuff! I'm guessing that with some work, you could take a BMP texture applied to an existing mesh and use it to displace the mesh?

              Possible - but you'd risk an insanely heavy mesh...

              @earthmover said:

              with perhaps a poly count adjustment.

              Well, one could sample less of the image...

              If I was better at math I could work out where the contrasts where and use more points from those areas...

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

              1 條回覆 最後回覆 回覆 引用 0
              • david_hD 離線
                david_h
                最後由 編輯

                I finally got it to work. I had to the LIB2 thing. It always takes me a little longer. At first i thought it was hanging on me and on some images it did, but I played around with my BMP in phoshop and got the mesh to work. Take a look: see if you can figure it out. Cool plugin. Don't know how I will use it yet but it's cool!


                mesh1.jpg


                mesh2.jpg


                mesh3.jpg

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

                1 條回覆 最後回覆 回覆 引用 0
                • Dave RD 離線
                  Dave R
                  最後由 編輯

                  This does seem like a plugin with a lot of potential. I gave it a try with a BMP version of the following image but it didn't appear that anything was happening. It seemed to lock up my computer but it should probably be chalked up to the lousy computer I have at work.

                  http://farm5.static.flickr.com/4120/4783291846_6d66178a50.jpg

                  This height map was actually created in SU to begin with.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    dedmin
                    最後由 編輯

                    Quick test in Rhino:
                    2010-10-01_200759.jpg

                    1 條回覆 最後回覆 回覆 引用 0
                    • Dave RD 離線
                      Dave R
                      最後由 編輯

                      Dedmin, did you try to do it with ThomThom's script in SU?

                      By the way, I think it looks nicer in SketchUp. 😉

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 條回覆 最後回覆 回覆 引用 0
                      • Dave RD 離線
                        Dave R
                        最後由 編輯

                        1.25 million entities? 😲 That would let the magic smoke out of this computer for sure. 😆

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 條回覆 最後回覆 回覆 引用 0
                        • jeff hammondJ 離線
                          jeff hammond
                          最後由 編輯

                          with this bmp, i added a few extra pixels along the top and bottom making it an even 125x500px which brought the entities down by 75%..
                          (make sure to scale the y axis to 25% in order to fix the proportions)

                          zipped on a mac.. ignore the ds files etc..

                          untitled1.jpg

                          dotdotdot

                          1 條回覆 最後回覆 回覆 引用 0
                          • jeff hammondJ 離線
                            jeff hammond
                            最後由 編輯

                            yeah, it works in sketchup..
                            tt's script scales everything to a square so i made the mistake of adding more black for an overall 500x500 px (4times the recommended resolution of 250x250)..

                            it came in at a modest 1.25 million entities 😄


                            with hidden geometry turned on

                            dotdotdot

                            1 條回覆 最後回覆 回覆 引用 0
                            • D 離線
                              dedmin
                              最後由 編輯

                              No, there is a similar command in Rhino - Mesh Heightfield. I just used your image to test it - the mesh is quite small 33 by 8 by 1,3 mm. I doubt this can be done in SketchUP.

                              1 條回覆 最後回覆 回覆 引用 0
                              • D 離線
                                dedmin
                                最後由 編輯

                                And Rhino maps the image as a texture

                                Untitled-1.jpg

                                2010-10-01_221122.jpg

                                2010-10-01_221044.jpg

                                1 條回覆 最後回覆 回覆 引用 0
                                • N 離線
                                  notareal
                                  最後由 編輯

                                  Nice one! I can imagine that one day this will be in need.

                                  Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Dave RD 離線
                                    Dave R
                                    最後由 編輯

                                    Dedmin, that looks nice.

                                    I did make the heighfield map in SketchUp so I know that part can be done. Here's the mesh from which I made the map.

                                    http://farm5.static.flickr.com/4118/4791556894_9724ee2004_z.jpg

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • D 離線
                                      dedmin
                                      最後由 編輯

                                      Sure - I mean the plugin. Can that plugin make so small mesh from an image without scaling? Looks good Dave 👍
                                      By the way, did You notice that Layout 3 can now paste Excel tables - very handy!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • shuraS 離線
                                        shura
                                        最後由 編輯

                                        Jeff, that concentric wave looks great!

                                        Thomas, sorry but I won't be able to get out of Berlin atm. We are preparing to move to a new appartment with my son being only six weeks old, and Munich is 600km from here... 😢
                                        Enjoy your time there - and don't forget that not all of us germs wear leather pants and drink beer until they pass out. 😆

                                        alex

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • thomthomT 離線
                                          thomthom
                                          最後由 編輯

                                          @shura said:

                                          and don't forget that not all of us germs wear leather pants and drink beer until they pass out. 😆

                                          What?! I've been lied to!! 😄

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

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • thomthomT 離線
                                            thomthom
                                            最後由 編輯

                                            @unknownuser said:

                                            yeah, it works in sketchup..
                                            tt's script scales everything to a square so i made the mistake of adding more black for an overall 500x500 px (4times the recommended resolution of 250x250)..

                                            it came in at a modest 1.25 million entities 😄

                                            I'll update it with a tool for placing the mesh in the model, with correction aspect ratio and let you define a height - basically let you draw a bounding box.
                                            Maybe even with an option to sample less pixels.

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 13
                                            • 14
                                            • 2 / 14
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement