sketchucation logo sketchucation
    • 登入
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] Heightmap from model

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

      Hi all,
      After a long silence, here is another toy I wrote to export SU terrains to Unity3D game engine, which uses RAW heightmaps to create terrains. I thought it could be of any interest to others, so here it is.
      Features:

      • creates BMP or RAW images, greyscale or color, 8 bits or 16 bits from any view of your model (top view recommanded of course)
      • creates a colored mask where no faces found in the view
      • can crop the image to the model projection
      • can blur the heightmap before writing it.

      Extract in Plugins folder, PDF doc included.

      Regards,

      EDIT: new release May 5th 2010, instant bugsplat fix 😛

      Get the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=mesh2HeightMap


      ENGLISH VERSION: Extract in Plugins folder, PDF doc included.


      VERSION FRANCAISE: à décompresser dans le dossier Plugins, doc PDF incluse.

      DB

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

        That is interesting. Could probably use the generated image as displacement texture in render engines.

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

        1 條回覆 最後回覆 回覆 引用 0
        • CadFatherC 離線
          CadFather
          最後由 編輯

          Thanks Didier, very interesting and good to see you around.. 👍

          1 條回覆 最後回覆 回覆 引用 0
          • GaieusG 離線
            Gaieus
            最後由 編輯

            Hi Didier,

            Indeed, long time no see and good to know you are still around.

            I have been looking at Unity for a while now so I guess this will come handy soon - thanks! 👍

            Gai...

            1 條回覆 最後回覆 回覆 引用 0
            • PixeroP 離線
              Pixero
              最後由 編輯

              I get a instant BugSplat upon starting SU.
              When I remove it from the plugins folder SU starts normally.
              Using latest SU and the english version of your script.

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                Same here... 😞

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • I 離線
                  ilay7k
                  最後由 編輯

                  Thanks
                  Works at 6 version, but slow, seems my pc is slow
                  same thing at 7 as TIG and Pixero

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

                    thank you very much for sharing.
                    Could make the menu visible, in order to personalize it.
                    the plugins *.rbs , and menu of plugins *.rb

                    1 條回覆 最後回覆 回覆 引用 0
                    • Didier BurD 離線
                      Didier Bur
                      最後由 編輯

                      @unknownuser said:

                      I get a instant BugSplat upon starting SU.

                      😡 😡

                      Are you on Mac, guys ? or do you use 7.1. ?

                      Always the same boring SU version update problems with rubies, I guess...

                      DB

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 離線
                        TIG Moderator
                        最後由 編輯

                        PC, Vista, with latest SUp v7.1+M1

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • Didier BurD 離線
                          Didier Bur
                          最後由 編輯

                          @TIG:

                          I'm on SU v7.0.8657
                          Do you know of any change in the API for 7.1. ?

                          DB

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

                            @didier bur said:

                            @TIG:

                            I'm on SU v7.0.8657
                            Do you know of any change in the API for 7.1. ?

                            Model.number_faces

                            only additions AFIK

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • TIGT 離線
                              TIG Moderator
                              最後由 編輯

                              @didier bur said:

                              @TIG:
                              I'm on SU v7.0.8657
                              Do you know of any change in the API for 7.1. ?

                              • arccurve.is_polygon?
                              • adding entities to groups initially seems less bugsplatty but it's not documented...
                                so none that should affect this...

                              TIG

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                Have you modified any 'built-in' methods that might clash with others mods ?

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • Didier BurD 離線
                                  Didier Bur
                                  最後由 編輯

                                  @TIG: No, I never do that !

                                  DB

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Didier BurD 離線
                                    Didier Bur
                                    最後由 編輯

                                    @TIG: No, I never do that !

                                    DB

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • A 離線
                                      AcesHigh
                                      最後由 編輯

                                      awesome Didier! I had asked for such a plugin some months ago! It will be great to create some bumpmaps (or displacement maps) to use with VRAY!

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

                                        Didier I extracted the plugin to the plugins folder and it causes SU to crash upon opening. I removed the plugin and SU opened fine.

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • Didier BurD 離線
                                          Didier Bur
                                          最後由 編輯

                                          It seems that crappy Vista is causing the problem (as usual).
                                          Since the script writes binary BMP or RAW files, ensure you have the right to do this (be logged as admin ?)
                                          Any other clue anyone ?

                                          DB

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • PixeroP 離線
                                            Pixero
                                            最後由 編輯

                                            Well...I had the same problems on XP at work, so... it can't be just Vista.

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

                                            Advertisement