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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • N 離線
      notareal
      最後由 編輯

      👍 Nice tool. Wonder if hdr or exr would be possible as file options.

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

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

        @didier bur said:

        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 ?

        Where does it write these to?
        I am an admin so it shouldn't matter.
        Also it crashes SUp BEFORE you try to do anything - just by loading it you get the problem.

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • charly2008C 離線
          charly2008
          最後由 編輯

          Hi TIG,

          i have the same problem with XP. SU7 was just by loading and then came a Bugsplat.

          Karlheinz

          He who makes no mistakes, makes nothing

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

            @unknownuser said:

            Where does it write these to?

            It writes images at the same location than the SKP is.

            @unknownuser said:

            it crashes SUp BEFORE you try to do anything - just by loading it

            That's what is really strange. I don't overwrite built-in methods, don't do any 'require' or something that involve other files.

            Would you please test this version and tell me if the problem persists ? 🎉


            mesh2HeightMap.zip

            DB

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

              Still crashes instantly while loading SU. Now on Windows 7 64bit. SU 7.1.

              1 條回覆 最後回覆 回覆 引用 0
              • charly2008C 離線
                charly2008
                最後由 編輯

                it still crashes while loading SU.

                Karlheinz

                He who makes no mistakes, makes nothing

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

                  Test file = instant Bugsplat.
                  Didier - why not PM or email the 'uncompiled' script to one of us for debugging - you can trust me 😉 ...
                  You know that I hack into your encrypted rb files all of the time, but the rbs ones are a bit harder... just easier if you supply it unencrypted...
                  It must be simple to fix...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • G 離線
                    georglorenz
                    最後由 編輯

                    Slightly off topic here: Is there a plugin that does the exact opposite of this one? That is creating a terrain from an greyscale image (.jpg or anything else)? Thank you. G

                    1 條回覆 最後回覆 回覆 引用 0
                    • Chris FullmerC 離線
                      Chris Fullmer
                      最後由 編輯

                      There is, Didier wrote a script that imports a heightmap image into SU. I forget what its called, but it was written by didier bur and should be posted here on the forum somewhere....

                      Chris

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

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

                        Nice work!

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • M 離線
                          miikka1978
                          最後由 編輯

                          Did anybody find some solution for instant BugSplat upon starting SU when using this plugin?

                          1 條回覆 最後回覆 回覆 引用 0
                          • Chris FullmerC 離線
                            Chris Fullmer
                            最後由 編輯

                            I was going to look at the code, but it is encrypted. So it would require Didier to look at it.

                            Sometimes if the script calls the active_model before the model is initialized by SU it can cause problems. But I can't see if the script is possibly doing anything like that.

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 條回覆 最後回覆 回覆 引用 0
                            • M 離線
                              miikka1978
                              最後由 編輯

                              Chris,
                              Is it possible to use your Color by Z- plugin for creating a heightmap from model? I would need to create heightmap from Sketchup model and take it into Unity 3D for creating a terrain (just like Heightmap plugin was supposed to do).
                              http://forums.sketchucation.com/viewtopic.php?f=180&t=16660

                              1 條回覆 最後回覆 回覆 引用 0
                              • Chris FullmerC 離線
                                Chris Fullmer
                                最後由 編輯

                                Look at the technicque used in this post:

                                http://forums.sketchucation.com/viewtopic.php?f=323&t=16660&start=15#p131738

                                The idea is to make your terrain, then apply a gradient image to the entire terrain. It will make a much smoother gradient than my color by Z and the gradient will be more accurate.

                                You can try using the attached gradient image. That will give you a greyscale heightmap. I don't know what file format you need, but I am hoping you can export a black and white image from SU and find a way to get it into the correct format.

                                Let me know if this works, if you are still missing a piece to the puzzle.

                                Chris

                                BW-gradient.jpg

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 條回覆 最後回覆 回覆 引用 0
                                • Chris FullmerC 離線
                                  Chris Fullmer
                                  最後由 編輯

                                  ohh, hmm. I think perhaps this does something different than I thought. What are you trying to achieve? You already have a greyscale terrain and want to turn it into 3d geometry? If so, that is very different than what my color by z does. It would not be able to be tweaked to do that.

                                  Lately you've been tan, suspicious for the winter.
                                  All my Plugins I've written

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

                                    Hi all,
                                    A new version of the script has been uploaded May 5th 2010 (no more instant bugsplat).
                                    Find it here: http://forums.sketchucation.com/viewtopic.php?p=209935#p209935
                                    The scrambler still puzzles me...

                                    DB

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

                                      Thanks, now working perfectly... 😄

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • M 離線
                                        miikka1978
                                        最後由 編輯

                                        Thank you Didier!

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • M 離線
                                          morrowsend1
                                          最後由 編輯

                                          This is a great plugin!

                                          I'd love to be able to customize this code for use with a project I am working on. Any chance you will be releasing the code?

                                          Things that would GREATLY help my project include:

                                          • Making Black a background color
                                          • Making square output images (my heightmap importer only accepts square images.)
                                          • The ability to scale the output images to any size I need.
                                          1 條回覆 最後回覆 回覆 引用 0
                                          • D 離線
                                            dbalex
                                            最後由 編輯

                                            really impressive plugin, very nice for render purposes!

                                            But could it be possible to enable it also in perspective view so we could have a depth map for postprocessing a sketchupview?

                                            anyway, thank you very much for this plugin didier!

                                            http://www.bocostudio.com

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

                                            Advertisement