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

    [Plugin] Heightmap from model

    Scheduled Pinned Locked Moved Plugins
    63 Posts 28 Posters 61.3k Views 29 Watching
    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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      @TIG:

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

      DB

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @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 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          @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 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

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

            TIG

            1 Reply Last reply Reply Quote 0
            • Didier BurD Offline
              Didier Bur
              last edited by

              @TIG: No, I never do that !

              DB

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                @TIG: No, I never do that !

                DB

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AcesHigh
                  last edited by

                  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 Reply Last reply Reply Quote 0
                  • EarthMoverE Offline
                    EarthMover
                    last edited by

                    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 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      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 Reply Last reply Reply Quote 0
                      • PixeroP Offline
                        Pixero
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          notareal
                          last edited by

                          👍 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 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • charly2008C Offline
                              charly2008
                              last edited by

                              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 Reply Last reply Reply Quote 0
                              • Didier BurD Offline
                                Didier Bur
                                last edited by

                                @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 Reply Last reply Reply Quote 0
                                • PixeroP Offline
                                  Pixero
                                  last edited by

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

                                  1 Reply Last reply Reply Quote 0
                                  • charly2008C Offline
                                    charly2008
                                    last edited by

                                    it still crashes while loading SU.

                                    Karlheinz

                                    He who makes no mistakes, makes nothing

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      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 Reply Last reply Reply Quote 0
                                      • G Offline
                                        georglorenz
                                        last edited by

                                        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 Reply Last reply Reply Quote 0
                                        • Chris FullmerC Offline
                                          Chris Fullmer
                                          last edited by

                                          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 Reply Last reply Reply Quote 0
                                          • N Offline
                                            notareal
                                            last edited by

                                            Nice work!

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement